The parse tag function in the packaging.tags module does not validate interpreter tag components, allowing…
The parse tag function in the packaging.tags module does not validate interpreter tag components, allowing…: a task in repo2rlenv-swe-gen (Harbor dataset). Expected behavior after the fix: - tags.parse tag("2.7.6-none-any") raises tags.InvalidTag with a message matching "invalid interpreter"…
The task
Expected behavior after the fix: - `tags.parse_tag("2.7.6-none-any")` raises `tags.InvalidTag` with a message matching `"invalid interpreter"` (since `"2"`, `"7"`, `"6"` are not valid identifiers). - `parse_wheel_filename("playlyfe-0.1.1-2.7.6-none-any.whl")` raises `InvalidWheelFilename`. - All well-known…
Part of FineEnvs/repo2rlenv-swe-gen.