Skip to content

Commit 4fb9528

Browse files
authored
Drop Python 3.8 support (#3592)
1 parent 336204f commit 4fb9528

File tree

8 files changed

+13
-9
lines changed

8 files changed

+13
-9
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: "actions/checkout@v4"
1818
- uses: "actions/setup-python@v5"
1919
with:
20-
python-version: 3.8
20+
python-version: 3.9
2121
- name: "Install dependencies"
2222
run: "scripts/install"
2323
- name: "Build package & docs"

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
17+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1818

1919
steps:
2020
- uses: "actions/checkout@v4"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [UNRELEASED]
8+
9+
### Removed
10+
11+
* Drop support for Python 3.8
12+
713
## 0.28.1 (6th December, 2024)
814

915
* Fix SSL case where `verify=False` together with client side certificates.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Or, to include the optional HTTP/2 support, use:
101101
$ pip install httpx[http2]
102102
```
103103

104-
HTTPX requires Python 3.8+.
104+
HTTPX requires Python 3.9+.
105105

106106
## Documentation
107107

docs/async.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ To make asynchronous requests, you'll need an `AsyncClient`.
2323
```
2424

2525
!!! tip
26-
Use [IPython](https://ipython.readthedocs.io/en/stable/) or Python 3.8+ with `python -m asyncio` to try this code interactively, as they support executing `async`/`await` expressions in the console.
26+
Use [IPython](https://ipython.readthedocs.io/en/stable/) or Python 3.9+ with `python -m asyncio` to try this code interactively, as they support executing `async`/`await` expressions in the console.
2727

2828
## API Differences
2929

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,6 @@ To include the optional brotli and zstandard decoders support, use:
145145
$ pip install httpx[brotli,zstd]
146146
```
147147

148-
HTTPX requires Python 3.8+
148+
HTTPX requires Python 3.9+
149149

150150
[sync-support]: https://github.com/encode/httpx/issues/572

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66
name = "httpx"
77
description = "The next generation HTTP client."
88
license = "BSD-3-Clause"
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.9"
1010
authors = [
1111
{ name = "Tom Christie", email = "tom@tomchristie.com" },
1212
]
@@ -20,7 +20,6 @@ classifiers = [
2020
"Operating System :: OS Independent",
2121
"Programming Language :: Python :: 3",
2222
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.8",
2423
"Programming Language :: Python :: 3.9",
2524
"Programming Language :: Python :: 3.10",
2625
"Programming Language :: Python :: 3.11",

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,5 @@ pytest==8.3.4
2525
ruff==0.8.1
2626
trio==0.27.0
2727
trio-typing==0.10.0
28-
trustme==1.1.0; python_version < '3.9'
29-
trustme==1.2.0; python_version >= '3.9'
28+
trustme==1.2.0
3029
uvicorn==0.32.1

0 commit comments

Comments
 (0)