Skip to content
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

Remove support for Python 2.7, 3.6 and Pypy3.6 #6091

Merged
merged 3 commits into from Mar 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 7 additions & 11 deletions setup.py
Expand Up @@ -17,17 +17,13 @@
==========================
Unsupported Python version
==========================
This version of Requests requires Python {}.{}, but you're trying to
install it on Python {}.{}.
This may be because you are using a version of pip that doesn't
understand the python_requires classifier. Make sure you
have pip >= 9.0 and setuptools >= 24.2, then try again:
$ python -m pip install --upgrade pip setuptools
$ python -m pip install requests
This will install the latest version of Requests which works on your
version of Python. If you can't upgrade your pip (or Python), request
an older version of Requests:
$ python -m pip install "requests<2.28"
This version of Requests requires at least Python {}.{}, but
you're trying to install it on Python {}.{}. To resolve this,
consider upgrading to a supported Python version.

If you can't upgrade your Python version, you'll need to
pin to an older version of Requests:
python -m pip install "requests<2.28"
nateprewitt marked this conversation as resolved.
Show resolved Hide resolved
""".format(
*(REQUIRED_PYTHON + CURRENT_PYTHON)
)
Expand Down