Skip to content

test: allow testing without aioquic - #1122

Merged
covener merged 2 commits into
apache:trunkfrom
covener:test-optional-aioquic
Nov 29, 2026
Merged

covener merged 2 commits into
apache:trunkfrom
covener:test-optional-aioquic

Conversation

@covener

@covener covener commented Nov 29, 2026

Copy link
Copy Markdown
Member

aioquic moves into a default aioquic dependency group, so a normal uv sync still installs it. Setting PYHTTPD_NO_AIOQUIC leaves it out, and the mod_http3 tests that use it then skip instead of failing collection.

Not applicable to 2.4.x, which has no mod_http3. Based on #1121; only the second commit is new here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PUN2EQeGazajYUiFHqYHCk

covener and others added 2 commits November 29, 2026 10:37
Take the packages named in PYHTTPD_SYSTEM_PACKAGES, such as
cryptography from the AIX Toolbox, from the system python
(PYHTTPD_PYTHON) rather than installing them into the venv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PUN2EQeGazajYUiFHqYHCk
Make aioquic an optional dependency group, left out of the venv when
PYHTTPD_NO_AIOQUIC is set, and skip the mod_http3 tests that need it
when it is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PUN2EQeGazajYUiFHqYHCk
@covener
covener merged commit 9903b0d into apache:trunk Nov 29, 2026
45 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant