feat(resolver): add VersionMapProvider for custom version resolution#981
Merged
mergify[bot] merged 1 commit intopython-wheel-build:mainfrom Mar 26, 2026
Merged
Conversation
dhellmann
reviewed
Mar 25, 2026
c63389f to
3088d60
Compare
Contributor
Author
|
I don't know why CI is failing 😞 |
Member
Introduces VersionMapProvider class that wraps the VersionMap interface, allowing it to be used as a resolver provider in override hooks. This enables packages to define custom version-to-URL mappings that integrate seamlessly with the existing resolver infrastructure (PyPIProvider, GitHubTagProvider, etc.). The provider supports constraints, caching, and follows the same patterns as other resolver providers, making it suitable for use in get_resolver_provider override hooks. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Signed-off-by: Rohan Devasthale <rdevasth@redhat.com>
3088d60 to
a5fafd9
Compare
Contributor
Author
@LalatenduMohanty yes, done |
dhellmann
approved these changes
Mar 26, 2026
Member
dhellmann
left a comment
There was a problem hiding this comment.
One small suggestion for an improvement, but nothing to hold this up.
Member
|
@Mergifyio refresh |
Contributor
✅ Pull request refreshed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces
VersionMapProviderclass that wraps the VersionMap interface, allowing it to be used as a resolver provider in override hooks. This enables packages to define custom version-to-URL mappings that integrate seamlessly with the existing resolver infrastructure (PyPIProvider, GitHubTagProvider, etc.).The provider supports constraints, caching, and follows the same patterns as other resolver providers, making it suitable for use in get_resolver_provider override hooks.
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com
Signed-off-by: Rohan Devasthale rdevasth@redhat.com