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
Provenance
- Commit
58cea7a- Tree
4a14378- Author
Nate Prewitt <nate.prewitt@gmail.com>- Committer
Nate Prewitt <nate.prewitt@gmail.com>- Parent
9439fad
7 files changed+8 added−10 removed
modified:.github/workflows/run-tests.yml+1 added-1 removed
10 unmodified lines1112131415151617181911 unmodified lines10 unmodified lines timeout-minutes: 10 strategy: fail-fast: false matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev", "pypy-3.9", "pypy-3.10"] python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"] os: [ubuntu-22.04, macOS-latest, windows-latest]
steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.011 unmodified linesmodified:docs/community/faq.rst+1 added-1 removed
53 unmodified lines54 55 Python 3 Support?56 -----------------57 58-Yes! Requests officially supports Python 3.7+ and PyPy.58+Yes! Requests officially supports Python 3.8+ and PyPy.59 60 Python 2 Support?61 -----------------62 27 unmodified linesmodified:docs/index.rst+1 added-1 removed
70 unmodified lines71 - Connection Timeouts72 - Chunked Requests73 - ``.netrc`` Support74 75-Requests officially supports Python 3.7+, and runs great on PyPy.75+Requests officially supports Python 3.8+, and runs great on PyPy.76 77 78 The User Guide79 --------------61 unmodified linesmodified:README.md+1 added-1 removed
31 unmodified lines3233343536363738394038 unmodified lines31 unmodified lines```console$ python -m pip install requests```
Requests officially supports Python 3.7+.Requests officially supports Python 3.8+.
## Supported Features & Best–Practices
Requests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.38 unmodified linesmodified:requirements-dev.txt-1 removed
3 unmodified lines4 pytest-httpbin==2.0.05 httpbin~=0.10.06 trustme7 wheel8-cryptography<40.0.0; python_version <= '3.7' and platform_python_implementation == 'PyPy'modified:setup.py+3 added-4 removed
5 unmodified lines6 from setuptools import setup7 from setuptools.command.test import test as TestCommand8 9 CURRENT_PYTHON = sys.version_info[:2]10-REQUIRED_PYTHON = (3, 7)10+REQUIRED_PYTHON = (3, 8)11 12 if CURRENT_PYTHON < REQUIRED_PYTHON:13 sys.stderr.write(14 """4 unmodified lines19 you're trying to install it on Python {}.{}. To resolve this,20 consider upgrading to a supported Python version.21 22 If you can't upgrade your Python version, you'll need to23-pin to an older version of Requests (<2.28).23+pin to an older version of Requests (<2.32.0).24 """.format(25 *(REQUIRED_PYTHON + CURRENT_PYTHON)26 )27 )65 unmodified lines93 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 lines106 "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 linesmodified:tox.ini+1 added-1 removed
1 [tox]2-envlist = py{37,38,39,310,311,312}-{default, use_chardet_on_py3}2+envlist = py{38,39,310,311,312}-{default, use_chardet_on_py3}3 4 [testenv]5 deps = -rrequirements-dev.txt6 extras =12 unmodified lines