Skip to content

Check in malformed wheel fixtures - #804

Draft
zaniebot wants to merge 1 commit into
mainfrom
zb/local-malformed-wheel-fixtures
Draft

zaniebot wants to merge 1 commit into
mainfrom
zb/local-malformed-wheel-fixtures

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

The malformed-wheel tests can fail before inspecting their archives because FindLinksServer::vendor() downloads the fixtures from GitHub. Check in the byte-identical wheels from the v2026.02.09.2 release of astral-sh/futzed-wheels and serve them with the existing local file server. Remove their remote artifact entries so these cases no longer depend on release-asset delivery.

Fixes #426.

@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing internal:testing Internal testing of behavior labels Aug 28, 2026
@zaniebot zaniebot added priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. size:1 Small: one localized behavior with straightforward tests or documentation checks. risk:0 No meaningful change to product, state, release, or automation behavior. labels Sep 9, 2026
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/local-malformed-wheel-fixtures branch from 00ad431 to 3cee67a Compare October 7, 2026 22:59
@codspeed

codspeed Bot commented Oct 8, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by ×9.2

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 11 improved benchmarks
✅ 43 untouched benchmarks
⏩ 35 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ WallTime unzip_wheel_many_files 371 ms 12.2 ms ×30
⚡ WallTime install_wheel_many_files 385 ms 13.7 ms ×28
⚡ WallTime prepare_wheel_many_files 383.4 ms 14.9 ms ×26
⚡ WallTime unpack_sdist_many_files 317.2 ms 36.8 ms ×8.6
⚡ WallTime resolve_warm_jupyter_universal 87.6 ms 11.8 ms ×7.4
⚡ WallTime resolve_warm_jupyter 17.4 ms 2.5 ms ×7
⚡ WallTime discover_workspace_from_all_members_with_excludes 52.7 ms 8.3 ms ×6.3
⚡ WallTime discover_workspace_from_all_members 50.5 ms 8 ms ×6.3
⚡ WallTime run_python_version_synthetic_workspace 268.4 ms 43 ms ×6.2
⚡ WallTime resolve_warm_airflow 233.2 ms 41.5 ms ×5.6
⚡ WallTime hash_sha256 1,165.6 µs 406.6 µs ×2.9

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing zb/local-malformed-wheel-fixtures (3cee67a) with main (b7c8c62)2

Open in CodSpeed

Footnotes

  1. 35 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (00e49e7) during the generation of this report, so b7c8c62 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

This branch was successfully deployed

1 active deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:testing Internal testing of behavior internal A refactor or improvement that is not user-facing priority:3 Normal: useful features, documentation, usability, or routine efficiency improvements. risk:0 No meaningful change to product, state, release, or automation behavior. size:1 Small: one localized behavior with straightforward tests or documentation checks.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

warn_on_lzma_wheel flakes when its vendored fixture cannot be loaded

2 participants