Skip to content

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

Merged
aignas merged 48 commits intobazel-contrib:mainfrom
aignas:refactor/pip-parse-testable
Oct 21, 2024
Merged

test(bzlmod): refactor pip_parse to make it more testable#2314
aignas merged 48 commits intobazel-contrib:mainfrom
aignas:refactor/pip-parse-testable

Conversation

@aignas
Copy link
Copy Markdown
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
@aignas aignas added this pull request to the merge queue Oct 21, 2024
Merged via the queue into bazel-contrib:main with commit 6d108c4 Oct 21, 2024
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