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

test(bzlmod): refactor pip_parse to make it more testable #2314

Merged
merged 48 commits into from
Oct 21, 2024

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Oct 18, 2024

This PR introduces a new parse_modules function in the pypi/extension.bzl
code to mimic the structure of the python extension and to make it easier to
write unit tests against the extension itself. I have also written a few unit
tests to verify the generic structure.

Work towards #2268.

@aignas aignas marked this pull request as draft October 20, 2024 03:22
@aignas aignas changed the title refactor(bzlmod): refactor pip_parse to make it more testable test(bzlmod): refactor pip_parse to make it more testable Oct 21, 2024
@aignas aignas marked this pull request as ready for review October 21, 2024 00:34
python/private/pypi/extension.bzl Outdated Show resolved Hide resolved
tests/pypi/extension/parse_modules_subject.bzl Outdated Show resolved Hide resolved
@aignas aignas added this pull request to the merge queue Oct 21, 2024
Merged via the queue into bazelbuild:main with commit 6d108c4 Oct 21, 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