Skip to content

Support latest setuptools and wheel-filename packages#228

Draft
mghantous wants to merge 4 commits intoblue-yonder:masterfrom
addgene:mg/update-packages
Draft

Support latest setuptools and wheel-filename packages#228
mghantous wants to merge 4 commits intoblue-yonder:masterfrom
addgene:mg/update-packages

Conversation

@mghantous
Copy link
Contributor

Support latest setuptools and wheel-filename packages.

  • setuptools >=81 removed pkg_resources, so I've changed dependency resolution and version/name normalization to use the packaging library instead.
  • wheel-filename: Support both 1.x and 2.x via a small compatibility layer

@mghantous mghantous marked this pull request as draft February 9, 2026 22:27
@coveralls
Copy link

Coverage Status

coverage: 96.19% (-1.3%) from 97.512%
when pulling e28b46d on addgene:mg/update-packages
into cd31808 on blue-yonder:master.

Comment on lines +25 to 28
# devpi-plumber runs devpi-init, which still uses pkg_resources; use setuptools <82 in CI only
# so integration tests pass
python -m pip install 'setuptools<82'
python -m pip install -r requirements.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've done manual testing on this PR, but unfortunately I can't get coverage of version 82 in these tests due to this issue.

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