Skip to content

🐛 fix(frontend): clear stale fallback metadata - #345

Merged
gaborbernat merged 2 commits into
tox-dev:mainfrom
subotac:fix/fallback-metadata-directory
Nov 2, 2026
Merged

gaborbernat merged 2 commits into
tox-dev:mainfrom
subotac:fix/fallback-metadata-directory

Conversation

@subotac

@subotac subotac commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Reusing a metadata directory after removing entry points can leave old entry point metadata in the next wheel or editable build. Fallback metadata now reflects the current build.

The frontend clears the distribution metadata directory before extracting it from the built wheel. It leaves files alongside that directory in place and replaces a directory symlink without changing its target.

subotac and others added 2 commits November 1, 2026 20:46
The Windows suite skips directory symlink creation because it requires
privileges. Exclude that branch from Windows coverage while keeping the
symlink behavior covered on Linux.

Tighten the fallback tests and name both build targets in the changelog.
@gaborbernat gaborbernat changed the title fix(frontend): remove stale files from fallback metadata 🐛 fix(frontend): clear stale fallback metadata Nov 2, 2026
@gaborbernat gaborbernat added the bug Something isn't working label Nov 2, 2026
@gaborbernat
gaborbernat enabled auto-merge (squash) November 2, 2026 15:56

@gaborbernat gaborbernat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gaborbernat
gaborbernat disabled auto-merge November 2, 2026 16:05
@gaborbernat
gaborbernat merged commit 17d3268 into tox-dev:main Nov 2, 2026
30 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants