Latest Results
[PR #13861/8c324e51 backport][3.15] Use a long host that is not all digits in Host header tests (#13866)
**This is a backport of PR #13861 as merged into master
(8c324e51de638088dfce37d8f95b1ba4caae8e97).**
<!-- Thank you for your contribution! -->
## What do these changes do?
`test_gen_netloc_all` and `test_gen_netloc_no_port` build a URL with a
50-digit host. An upcoming yarl change parses a special-scheme host made
only of numbers as an IPv4 address in its default WHATWG mode, as
browsers do, and rejects this one as out of range. The tests now use the
same digits followed by `.test`, which keeps the point of the tests (a
long host in the `Host` header) and passes with every yarl version.
## Are there changes in behavior for the user?
No, test-only change.
## Is it a substantial burden for the maintainers to support this?
No.
## Related issue number
Backport of #13861; needed by aio-libs/yarl#1940, whose CI runs the
aiohttp suite against master, 3.14 and 3.15.
## Checklist
- [x] I think the code is well written
- [x] Unit tests for the changes exist
- [ ] Documentation reflects the changes: N/A, test-only
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt`: N/A, already listed
- [x] Add a new news fragment into the `CHANGES/` folder
Drafted with Claude Code (Claude Opus 5.5); reviewed by @asvetlov.
<details>
<summary>Agent run details (optional, for reviewers)</summary>
Patchback failed on a conflict: 3.15 still uses the `make_request`
fixture with plain string URLs, so the two tests keep that style with
the new `LONG_HOST` constant. Cherry-picked with `git cherry-pick -x
8c324e51de638088dfce37d8f95b1ba4caae8e97` as the patchback comment
describes.
Tests, pure Python (`AIOHTTP_NO_EXTENSIONS=1`), `pytest tests -n 8`
against the yarl#1940 branch: 4765 passed, 63 skipped, 2 xfailed; 7
failures in `test_pytest_plugin.py`, `test_imports.py` and
`test_test_utils.py` come from running with a venv built from master's
requirements and fail the same way with released yarl 1.25.1. The two
changed tests pass with yarl 1.25.1 and with the yarl#1940 branch.
</details> [PR #13861/8c324e51 backport][3.14] Use a long host that is not all digits in Host header tests (#13865)
**This is a backport of PR #13861 as merged into master
(8c324e51de638088dfce37d8f95b1ba4caae8e97).**
<!-- Thank you for your contribution! -->
## What do these changes do?
`test_gen_netloc_all` and `test_gen_netloc_no_port` build a URL with a
50-digit host. An upcoming yarl change parses a special-scheme host made
only of numbers as an IPv4 address in its default WHATWG mode, as
browsers do, and rejects this one as out of range. The tests now use the
same digits followed by `.test`, which keeps the point of the tests (a
long host in the `Host` header) and passes with every yarl version.
## Are there changes in behavior for the user?
No, test-only change.
## Is it a substantial burden for the maintainers to support this?
No.
## Related issue number
Backport of #13861; needed by aio-libs/yarl#1940, whose CI runs the
aiohttp suite against master, 3.14 and 3.15.
## Checklist
- [x] I think the code is well written
- [x] Unit tests for the changes exist
- [ ] Documentation reflects the changes: N/A, test-only
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt`: N/A, already listed
- [x] Add a new news fragment into the `CHANGES/` folder
Drafted with Claude Code (Claude Opus 5.5); reviewed by @asvetlov.
<details>
<summary>Agent run details (optional, for reviewers)</summary>
Patchback failed on a conflict: 3.14 still uses the `make_request`
fixture with plain string URLs, so the two tests keep that style with
the new `LONG_HOST` constant. Cherry-picked with `git cherry-pick -x
8c324e51de638088dfce37d8f95b1ba4caae8e97` as the patchback comment
describes.
Tests, pure Python (`AIOHTTP_NO_EXTENSIONS=1`), `pytest tests -n 8`
against the yarl#1940 branch: 4687 passed, 62 skipped, 2 xfailed; 7
failures in `test_pytest_plugin.py`, `test_imports.py` and
`test_test_utils.py` come from running with a venv built from master's
requirements and fail the same way with released yarl 1.25.1. The two
changed tests pass with yarl 1.25.1 and with the yarl#1940 branch.
</details> Use a long host that is not all digits in Host header tests (#13861)
<!-- Thank you for your contribution! -->
`test_gen_netloc_all` and `test_gen_netloc_no_port` build a URL with a
50-digit host. An upcoming yarl change parses a special-scheme host made
only of numbers as an IPv4 address in its default WHATWG mode, as
browsers do, and rejects this one as out of range. The tests now use the
same digits followed by `.test`, which keeps the point of the tests (a
long host in the `Host` header) and passes with every yarl version.
No, test-only change.
No.
Needed by aio-libs/yarl#1940. yarl CI runs the aiohttp suite against
master, 3.14 and 3.15, so this needs backports to both release branches.
- [x] I think the code is well written
- [x] Unit tests for the changes exist
- [ ] Documentation reflects the changes: N/A, test-only
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt`: N/A, already listed
- [x] Add a new news fragment into the `CHANGES/` folder
Drafted with Claude Code (Claude Opus 5.5); reviewed by @asvetlov.
<details>
<summary>Agent run details (optional, for reviewers)</summary>
Tests, pure Python (`AIOHTTP_NO_EXTENSIONS=1`), `pytest tests -n 8`:
4798 passed, 60 skipped, 14 xfailed against the yarl branch for
aio-libs/yarl#1940. The two changed tests pass with released yarl
1.25.1; the old versions fail with `ValueError` against the yarl branch.
Lint: pre-commit with `SKIP=flake8,yesqa` (the local flake8 hook cannot
load `flake8-requirements`); flake8 run directly on the file passed.
</details>
(cherry picked from commit 8c324e51de638088dfce37d8f95b1ba4caae8e97)asvetlov:patchback/backports/3.15/8c324e51de638088dfce37d8f95b1ba4caae8e97/pr-13861 Latest Branches
+16%
patchback/backports/3.15/3489636c044df3176665a2173d91ddef6d8161ec/pr-13579 0%
andrewstellman:fix-readuntil-split-separator 0%
00200200:fix-headers-proxy-mixed-case-keys © 2026 CodSpeed Technology