Skip to content

Fix azdev extension update-index/publish failing to read wheel metadata#552

Open
aryasadeghi1 wants to merge 1 commit into
Azure:devfrom
aryasadeghi1:fix/7740-update-index-whl-suffix
Open

Fix azdev extension update-index/publish failing to read wheel metadata#552
aryasadeghi1 wants to merge 1 commit into
Azure:devfrom
aryasadeghi1:fix/7740-update-index-whl-suffix

Conversation

@aryasadeghi1

Copy link
Copy Markdown
Member

After decoupling extension metadata from wheel==0.30.0 (#549), the wheel was downloaded under the bare extension name (no extension), but the new pkginfo. Wheel-based reader requires a .whl filename, so it raised ValueError: Not a known wheel archive format.

The old zipfile-based reader was extension-agnostic, so this never surfaced before.

  • update_extension_index: download the wheel using the URL's .whl basename.
  • read_pkginfo: fall back to a temporary .whl copy for any non-.whl path.
  • Bump to 0.2.11b3.

@aryasadeghi1 aryasadeghi1 self-assigned this Jun 22, 2026
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