Skip to content

test: Expand testing for wheel multi-version multi-platform - #608

Merged
henryiii merged 1 commit into
pypa:mainfrom
jacobdr:add-more-testing-for-wheel-filename
Jul 21, 2026
Merged

test: Expand testing for wheel multi-version multi-platform#608
henryiii merged 1 commit into
pypa:mainfrom
jacobdr:add-more-testing-for-wheel-filename

Conversation

@jacobdr

@jacobdr jacobdr commented Nov 7, 2022

Copy link
Copy Markdown
Contributor

Following this past week's issue with wheel==0.38, this adds slightly more testing to help guard against a similar issue in this package. While its somewhat duplicative of what might already be tested in test_tags.py, since this is the most natural place to put an "end-user" consumption test (viz the internals), I thought the juice was worth the squeeze as a defensive test.

I submitted a PR with similar testing to the wheel package via pypa/wheel#486, but since the intention is to have wheel depend on packaging eventually, I also wanted to make a similar contribution here.

  • Add slightly more testing to the wheel and sdist tests
  • Add venv to the .gitignore

Comment thread .gitignore Outdated
Comment thread tests/test_utils.py Outdated
Comment thread tests/test_utils.py Outdated
Comment thread tests/test_utils.py Outdated
Comment thread tests/test_utils.py Outdated
@brettcannon

Copy link
Copy Markdown
Member

@jacobdr please refresh my review when you're ready for me to have another look.

@henryiii
henryiii force-pushed the add-more-testing-for-wheel-filename branch from bbd46a2 to 7f97f52 Compare July 21, 2026 16:49
Add a wheel filename that compresses both the interpreter and platform
axes, covering the full tag cartesian product. Add venv to .gitignore.

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
@henryiii
henryiii force-pushed the add-more-testing-for-wheel-filename branch from 7f97f52 to 4e266ef Compare July 21, 2026 16:50
@henryiii

Copy link
Copy Markdown
Contributor

Most of this is now tested, but the multi one is still useful. I reduced it to just that.

@henryiii
henryiii requested a review from brettcannon July 21, 2026 17:47
@henryiii
henryiii merged commit b62954b into pypa:main Jul 21, 2026
69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants