Skip to content
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

fix(bzlmod): correctly wire the extra_pip_args #2258

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Sep 27, 2024

Before this PR we were just dropping the extra_pip_args passed to
pip.parse and were just using the args passed through the requirements
file. Thanks to @swarren12 for pointing this out.

This PR also passes extra_pip_args to sdist whl_library instances
so that users can build the sdists correctly when using
experimental_index_url feature.

Summary:

  • pass extra_pip_args when building sdists in experimental mode
  • join extra_pip_args from the file and the pip.parse attr
  • test: add a test to ensure that the extra args are joined

Fixes #2239
Closes #2254

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.

extra_pip_args do not seem to be passed to whl_library
1 participant