Skip to content
Myr

Drop support for Python 3.9 (#7196)

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

authored by Nate Prewitt · committed by GitHub · parent 32e26af · Browse files · 5 files+11 added−13 removed
This commit

State

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

Diff stats

5 files+11 added−13 removed

  • other:+11 added−13 removed

5 files+11 added−13 removed

modified:.github/workflows/run-tests.yml+5 added-5 removed
modified:pyproject.toml+2 added-4 removed
modified:README.md+1 added-1 removed
31 unmodified lines
32```console33$ python -m pip install requests34```3536Requests officially supports Python 3.9+.36Requests officially supports Python 3.10+.3738## Supported Features & Best–Practices3940Requests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.
38 unmodified lines
modified:setup.py+2 added-2 removed
1import sys23if sys.version_info < (3, 9):4 sys.stderr.write("Requests requires Python 3.9 or later.\n")3if sys.version_info < (3, 10): # noqa: UP0364 sys.stderr.write("Requests requires Python 3.10 or later.\n")5 sys.exit(1)67from setuptools import setup8
1 unmodified line
modified:tox.ini+1 added-1 removed
1[tox]2envlist = py{39,310,311,312,313,314}-{default, use_chardet_on_py3}2envlist = py{310,311,312,313,314}-{default, use_chardet_on_py3}34[testenv]5deps = -rrequirements-dev.txt6extras =
12 unmodified lines