Skip to content

boulder: Normalize python providers #453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cybin
Copy link

@cybin cybin commented Apr 5, 2025

Boulder generates providers by using the module's name. If module's name contains a '', it will cause a provider/dependency mismatch. This is solved by simply adding additional providers by replacing '' with '-' in the module's name.

I tested it by rebuilding python-typing_extensions and it got resolved, even if the module is looking for python(typing-extensions(3.11)), which got generated by boulder too.

@cybin cybin requested review from ikeycode, ermo and tarkah as code owners April 5, 2025 17:14
@ermo ermo added this to the alpha1 milestone Apr 17, 2025
Copy link
Contributor

@ermo ermo left a comment

Choose a reason for hiding this comment

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

Please address clippy lints.

Boulder generates providers by using the module's
name. If module's name contains a '_', it will
cause a provider/dependency mismatch. This is
solved by simply adding additional providers by
replacing '_' with '-' in the module's name.
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