Skip to content

Report the editable hook in metadata validation errors - #326

Merged
gaborbernat merged 1 commit into
tox-dev:mainfrom
zombieli:fix/editable-metadata-error
Oct 18, 2026
Merged

gaborbernat merged 1 commit into
tox-dev:mainfrom
zombieli:fix/editable-metadata-error

Conversation

@zombieli

Copy link
Copy Markdown
Contributor

When prepare_metadata_for_build_editable returns an invalid value, BackendFailed.exc_msg currently names prepare_metadata_for_build_wheel. Report the hook that was actually called and correct the existing regression expectation.

Validation on Windows / Python 3.13.1:

  • The corrected expectation fails on the upstream implementation, then passes with this fix.
  • Four focused editable/wheel metadata tests pass.
  • The full suite has 94 passes and 8 symlink-permission failures (WinError 1314); the unchanged upstream baseline has the same 8 failures.
  • Ruff checks/formatting on the changed files and ty check on source/tests pass.

Prepared with OpenAI Codex assistance.

@gaborbernat
gaborbernat enabled auto-merge (squash) October 18, 2026 16:17
@gaborbernat
gaborbernat merged commit 3981ab7 into tox-dev:main Oct 18, 2026
26 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.

2 participants