Skip to content
Myr

Drop support for CPython 3.7

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nate Prewitt · committed by Nate Prewitt · parent 9439fad · Browse files · 7 files+8 added−10 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+8 added−10 removed

  • other:+8 added−10 removed

7 files+8 added−10 removed

modified:.github/workflows/run-tests.yml+1 added-1 removed
modified:docs/community/faq.rst+1 added-1 removed
53 unmodified lines
5455Python 3 Support?56-----------------5758Yes! Requests officially supports Python 3.7+ and PyPy.58Yes! Requests officially supports Python 3.8+ and PyPy.5960Python 2 Support?61-----------------62
27 unmodified lines
modified:docs/index.rst+1 added-1 removed
70 unmodified lines
71- Connection Timeouts72- Chunked Requests73- ``.netrc`` Support7475Requests officially supports Python 3.7+, and runs great on PyPy.75Requests officially supports Python 3.8+, and runs great on PyPy.767778The User Guide79--------------
61 unmodified lines
modified:README.md+1 added-1 removed
modified:requirements-dev.txt-1 removed
3 unmodified lines
4pytest-httpbin==2.0.05httpbin~=0.10.06trustme7wheel8cryptography<40.0.0; python_version <= '3.7' and platform_python_implementation == 'PyPy'
modified:setup.py+3 added-4 removed
5 unmodified lines
6from setuptools import setup7from setuptools.command.test import test as TestCommand89CURRENT_PYTHON = sys.version_info[:2]10REQUIRED_PYTHON = (3, 7)10REQUIRED_PYTHON = (3, 8)1112if CURRENT_PYTHON < REQUIRED_PYTHON:13 sys.stderr.write(14 """
4 unmodified lines
19you're trying to install it on Python {}.{}. To resolve this,20consider upgrading to a supported Python version.2122If you can't upgrade your Python version, you'll need to23pin to an older version of Requests (<2.28).23pin to an older version of Requests (<2.32.0).24""".format(25 *(REQUIRED_PYTHON + CURRENT_PYTHON)26 )27 )
65 unmodified lines
93 packages=["requests"],94 package_data={"": ["LICENSE", "NOTICE"]},95 package_dir={"": "src"},96 include_package_data=True,97 python_requires=">=3.7",97 python_requires=">=3.8",98 install_requires=requires,99 license=about["__license__"],100 zip_safe=False,101 classifiers=[
4 unmodified lines
106 "Natural Language :: English",107 "Operating System :: OS Independent",108 "Programming Language :: Python",109 "Programming Language :: Python :: 3",110 "Programming Language :: Python :: 3.7",110 "Programming Language :: Python :: 3.8",111 "Programming Language :: Python :: 3.9",112 "Programming Language :: Python :: 3.10",113 "Programming Language :: Python :: 3.11",
19 unmodified lines
modified:tox.ini+1 added-1 removed
1[tox]2envlist = py{37,38,39,310,311,312}-{default, use_chardet_on_py3}2envlist = py{38,39,310,311,312}-{default, use_chardet_on_py3}34[testenv]5deps = -rrequirements-dev.txt6extras =
12 unmodified lines