Skip to content

🧪📦 Normalize sdist and wheel base names the same way - #9

Merged
webknjaz merged 1 commit into
tox-dev:mainfrom
webknjaz:maintenance/dist-basename-normalization
Nov 6, 2026
Merged

webknjaz merged 1 commit into
tox-dev:mainfrom
webknjaz:maintenance/dist-basename-normalization

Conversation

@webknjaz

@webknjaz webknjaz commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

What do these changes do?

Recent `setuptools` versions normalize the project name in the wheel file name the same way as in the sdist one: lowercased, with both dashes and dots turned into underscores. The CI was still expecting the wheel name to preserve the dots and the letter case, which makes it fail to find the artifact for projects with such names.

This drops the separate computation for wheels, using a single normalized base name for both.

Are there changes in behavior for the user?

no

Is it a substantial burden for the maintainers to support this?

no

Related issue number

N/A

Checklist

Recent `setuptools` versions normalize the project name in the wheel
file name the same way as in the sdist one: lowercased, with both
dashes and dots turned into underscores. The CI was still expecting
the wheel name to preserve the dots and the letter case, which makes
it fail to find the artifact for projects with such names.

This drops the separate computation for wheels, using a single
normalized base name for both.

Assisted-by: LLM
@webknjaz
webknjaz merged commit 4e4e1bd into tox-dev:main Nov 6, 2026
46 of 48 checks passed
@webknjaz
webknjaz deleted the maintenance/dist-basename-normalization branch November 6, 2026 00:41
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