Skip to content

Commit 85ac7d4

Browse files
authored
Merge branch 'master' into move-bench
2 parents bf7d216 + 9820975 commit 85ac7d4

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ 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+
## Version 1.0.9 (April 24th, 2025)
8+
9+
- Resolve https://github.com/advisories/GHSA-vqfr-h8mv-ghfj with h11 dependency update. (#1008)
10+
11+
## Version 1.0.8 (April 11th, 2025)
12+
13+
- Fix `AttributeError` when importing on Python 3.14. (#1005)
14+
715
## Version 1.0.7 (November 15th, 2024)
816

917
- Support `proxy=…` configuration on `ConnectionPool()`. (#974)

httpcore/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,11 @@ def __init__(self, *args, **kwargs): # type: ignore
131131
"WriteError",
132132
]
133133

134-
__version__ = "1.0.7"
134+
__version__ = "1.0.9"
135135

136136

137137
__locals = locals()
138138
for __name in __all__:
139-
if not __name.startswith("__"):
139+
# Exclude SOCKET_OPTION, it causes AttributeError on Python 3.14
140+
if not __name.startswith(("__", "SOCKET_OPTION")):
140141
setattr(__locals[__name], "__module__", "httpcore") # noqa

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ classifiers = [
3030
]
3131
dependencies = [
3232
"certifi",
33-
"h11>=0.13,<0.15",
33+
"h11>=0.16",
3434
]
3535

3636
[project.optional-dependencies]

0 commit comments

Comments
 (0)