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

refactor(pypi): further cleanup of pip.parse code #2534

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Dec 25, 2024

Summary:

  • Move the whl_library creation into a separate function and remove
    the TODO note.
  • Move the creation of the get_index_urls functions into outer
    parse_modules function and simplify the reproducible extension
    setting logic.
  • Remove the prefix parameter from the *repo_name functions.
  • Add an extra error message, for ensuring that invariants are met.

Work towards #260

- Move the `whl_library` creation into a separate function and remove
  the `TODO` note.
- Move the creation of the `get_index_urls` functions into outer
  `parse_modules` function and simplify the reproducible extension
  setting logic.
- Remove the `prefix` parameter from the `*repo_name` functions.
- Add an extra error message, for ensuring that invariants are met.

Work towards bazelbuild#260
@rickeylev rickeylev added this pull request to the merge queue Dec 27, 2024
Merged via the queue into bazelbuild:main with commit 2136215 Dec 27, 2024
4 checks passed
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