Skip to content

Commit ca3d6d0

Browse files
committed
Dropped Python 3.8 support and added Python 3.13 to CI matrix
1 parent c52711d commit ca3d6d0

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.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"]
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

77
## [Unreleased]
88

9+
- Drop Python 3.8 support
910
- Explicitly close all async generators to ensure predictable behavior
1011

1112
## Version 1.0.9 (April 24th, 2025)

httpcore/_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def aclose(self) -> Awaitable[object]: ...
1515

1616
_SupportsAcloseT = TypeVar("_SupportsAcloseT", bound=_SupportsAclose)
1717

18-
class aclosing(AbstractAsyncContextManager):
18+
class aclosing(AbstractAsyncContextManager[_SupportsAcloseT, None]):
1919
def __init__(self, thing: _SupportsAcloseT) -> None:
2020
self.thing = thing
2121

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "httpcore"
77
dynamic = ["readme", "version"]
88
description = "A minimal low-level HTTP client."
99
license = "BSD-3-Clause"
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.9"
1111
authors = [
1212
{ name = "Tom Christie", email = "tom@tomchristie.com" },
1313
]
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
"Topic :: Internet :: WWW/HTTP",
3031
]
3132
dependencies = [
@@ -96,7 +97,7 @@ filterwarnings = ["error"]
9697

9798
[tool.coverage.run]
9899
omit = [
99-
"venv/*",
100+
"venv/*",
100101
"httpcore/_sync/*"
101102
]
102103
include = ["httpcore/*", "tests/*"]

0 commit comments

Comments
 (0)