Drop support for CPython 3.7

This commit is contained in:
Nate Prewitt
2024-02-20 15:22:20 -08:00
parent 9439fad038
commit 58cea7a728
7 changed files with 8 additions and 10 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
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:
+1 -1
View File
@@ -33,7 +33,7 @@ Requests is available on PyPI:
$ python -m pip install requests
```
Requests officially supports Python 3.7+.
Requests officially supports Python 3.8+.
## Supported Features & BestPractices
+1 -1
View File
@@ -55,7 +55,7 @@ Chris Adams gave an excellent summary on
Python 3 Support?
-----------------
Yes! Requests officially supports Python 3.7+ and PyPy.
Yes! Requests officially supports Python 3.8+ and PyPy.
Python 2 Support?
-----------------
+1 -1
View File
@@ -72,7 +72,7 @@ Requests is ready for today's web.
- Chunked Requests
- ``.netrc`` Support
Requests officially supports Python 3.7+, and runs great on PyPy.
Requests officially supports Python 3.8+, and runs great on PyPy.
The User Guide
-1
View File
@@ -5,4 +5,3 @@ pytest-httpbin==2.0.0
httpbin~=0.10.0
trustme
wheel
cryptography<40.0.0; python_version <= '3.7' and platform_python_implementation == 'PyPy'
+3 -4
View File
@@ -7,7 +7,7 @@ from setuptools import setup
from setuptools.command.test import test as TestCommand
CURRENT_PYTHON = sys.version_info[:2]
REQUIRED_PYTHON = (3, 7)
REQUIRED_PYTHON = (3, 8)
if CURRENT_PYTHON < REQUIRED_PYTHON:
sys.stderr.write(
@@ -20,7 +20,7 @@ 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 (<2.28).
pin to an older version of Requests (<2.32.0).
""".format(
*(REQUIRED_PYTHON + CURRENT_PYTHON)
)
@@ -94,7 +94,7 @@ setup(
package_data={"": ["LICENSE", "NOTICE"]},
package_dir={"": "src"},
include_package_data=True,
python_requires=">=3.7",
python_requires=">=3.8",
install_requires=requires,
license=about["__license__"],
zip_safe=False,
@@ -107,7 +107,6 @@ setup(
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+1 -1
View File
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39,310,311,312}-{default, use_chardet_on_py3}
envlist = py{38,39,310,311,312}-{default, use_chardet_on_py3}
[testenv]
deps = -rrequirements-dev.txt