Skip to content

Fix test failures caused by upstream HTTP.jl switching version fields from VersionNumber to HTTPVersion#30

Merged
DilumAluthge merged 1 commit into
JuliaTesting:masterfrom
DilumAluthge-LLM:codex/julia-1-12-test-fixes
Mar 31, 2026
Merged

Fix test failures caused by upstream HTTP.jl switching version fields from VersionNumber to HTTPVersion#30
DilumAluthge merged 1 commit into
JuliaTesting:masterfrom
DilumAluthge-LLM:codex/julia-1-12-test-fixes

Conversation

@DilumAluthge-LLM
Copy link
Copy Markdown
Contributor

@DilumAluthge-LLM DilumAluthge-LLM commented Mar 31, 2026

This PR fixes the test failure seen in e.g. #29.

In the past, HTTP.jl stored versions as VersionNumber, so string(resp.version) produced "1.1.0".

However, now HTTP.jl stores versions as HTTPVersion, so string(resp.version) produces "HTTPVersion(\"1.1\")".

After this PR, we correctly get the string "1.1" regardless of whether HTTP.jl stores it as HTTPVersion or VersionNumber.

🤖 Generated by OpenAI Codex.

@DilumAluthge DilumAluthge changed the title [codex] Fix Julia 1.12 test failures Fix test failures Mar 31, 2026
@DilumAluthge-LLM DilumAluthge-LLM force-pushed the codex/julia-1-12-test-fixes branch from d818c0a to a97e0de Compare March 31, 2026 03:26
@DilumAluthge-LLM DilumAluthge-LLM changed the title Fix test failures [codex] Fix Julia 1.12 test failures Mar 31, 2026
@DilumAluthge-LLM DilumAluthge-LLM force-pushed the codex/julia-1-12-test-fixes branch from fb274eb to c45fedf Compare March 31, 2026 03:35
@DilumAluthge-LLM DilumAluthge-LLM changed the title [codex] Fix Julia 1.12 test failures Fix test failures caused by HTTP.jl switching version fields from VersionNumber to HTTPVersion Mar 31, 2026
@DilumAluthge-LLM DilumAluthge-LLM changed the title Fix test failures caused by HTTP.jl switching version fields from VersionNumber to HTTPVersion Fix test failures caused by upstream HTTP.jl switching version fields from VersionNumber to HTTPVersion Mar 31, 2026
@DilumAluthge-LLM DilumAluthge-LLM force-pushed the codex/julia-1-12-test-fixes branch from b2b3085 to 872e270 Compare March 31, 2026 03:40
… from VersionNumber to HTTPVersion

Normalize stored HTTP version values so BrokenRecord no longer depends on
HTTP.jl's internal string representation, and format HTTPVersion values via
VersionNumber to preserve the historical x.y.0 serialized form.

Co-authored-by: OpenAI Codex GPT-5 <codex@openai.com>
@DilumAluthge-LLM DilumAluthge-LLM force-pushed the codex/julia-1-12-test-fixes branch from 872e270 to 4391fba Compare March 31, 2026 03:44
@DilumAluthge
Copy link
Copy Markdown
Member

I have manually reviewed the code in this PR.

@DilumAluthge DilumAluthge marked this pull request as ready for review March 31, 2026 03:56
@DilumAluthge
Copy link
Copy Markdown
Member

@quinnj @christopher-dG Could you review this? It fixes the CI failures currently seen on master.

@DilumAluthge DilumAluthge merged commit 0b52bf6 into JuliaTesting:master Mar 31, 2026
4 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.

3 participants