Skip to content

Commit 73a232d

Browse files
committed
project cleanup
1 parent be8b4e3 commit 73a232d

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- "3.12"
1818
- "3.13"
1919
- "3.14"
20-
- "pypy3.11"
2120

2221
steps:
2322
- uses: actions/checkout@v6
@@ -39,7 +38,7 @@ jobs:
3938
- name: Test with tox
4039
run: |
4140
tox --parallel 0
42-
- uses: codecov/codecov-action@v5
41+
- uses: codecov/codecov-action@v6
4342
with:
4443
token: ${{ secrets.CODECOV_TOKEN }}
4544
files: ./coverage.xml

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ dev
1515
**API Changes (Backward Compatible)**
1616

1717
- Support for Python 3.14 has been added.
18-
- Support for PyPy 3.11 has been added.
1918
- Align CONNECT pseudo-header validation with RFC 9113 s8.3 and RFC 8441 s4.
2019
Ordinary CONNECT now requires ``:method=CONNECT`` and ``:authority``, and
2120
forbids ``:scheme``/``:path``. Extended CONNECT (e.g., WebSocket) requires
2221
``:scheme``, ``:path``, ``:authority`` plus ``:protocol``. (PR #1309)
22+
- Fix incorrect substring matching of secure header in ``cookie`` and ``:method``.
2323

2424
**Bugfixes**
2525

pyproject.toml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# https://packaging.python.org/en/latest/specifications/pyproject-toml/
33

44
[build-system]
5-
requires = ["setuptools>=77"]
5+
requires = ["setuptools>=82", "wheel>=0.46.3"]
66
build-backend = "setuptools.build_meta"
77

88
[project]
@@ -40,7 +40,6 @@ classifiers = [
4040
"Programming Language :: Python :: 3.13",
4141
"Programming Language :: Python :: 3.14",
4242
"Programming Language :: Python :: Implementation :: CPython",
43-
"Programming Language :: Python :: Implementation :: PyPy",
4443
]
4544

4645
[project.urls]
@@ -71,15 +70,15 @@ linting = [
7170
]
7271

7372
packaging = [
74-
"check-manifest==0.50",
73+
"check-manifest==0.51",
7574
"readme-renderer==44.0",
76-
"build>=1.3.0,<2",
75+
"build>=1.4.2,<2",
7776
"twine>=6.2.0,<7",
78-
"wheel>=0.45.1,<1",
77+
"wheel>=0.46.3,<1",
7978
]
8079

8180
docs = [
82-
"sphinx>=7.4.7,<9",
81+
"sphinx>=9.1.0,<10",
8382
]
8483

8584
[tool.setuptools.packages.find]
@@ -170,16 +169,15 @@ source = [
170169

171170
[tool.tox]
172171
min_version = "4.23.2"
173-
env_list = [ "py310", "py311", "py312", "py313", "py314", "pypy311", "lint", "docs", "packaging" ]
172+
env_list = [ "py310", "py311", "py312", "py313", "py314", "lint", "docs", "packaging" ]
174173

175174
[tool.tox.gh-actions]
176175
python = """
177-
3.10: py310, h2spec, lint, docs, packaging
176+
3.10: py310, h2spec, lint, packaging
178177
3.11: py311
179178
3.12: py312
180-
3.13: py313
179+
3.13: py313, docs
181180
3.14: py314
182-
pypy3.11: pypy311
183181
"""
184182

185183
[tool.tox.env_run_base]

src/h2/connection.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,8 +1901,7 @@ def _receive_goaway_frame(self, frame: GoAwayFrame) -> tuple[list[Frame], list[E
19011901
new_event = ConnectionTerminated()
19021902
new_event.error_code = _error_code_from_int(frame.error_code)
19031903
new_event.last_stream_id = frame.last_stream_id
1904-
new_event.additional_data = (frame.additional_data
1905-
if frame.additional_data else None)
1904+
new_event.additional_data = frame.additional_data or None
19061905
events.append(new_event)
19071906

19081907
return [], events

0 commit comments

Comments
 (0)