Skip to content

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Sep 8, 2024

With this PR we get rudimentary unit tests for the python bzlmod extension
which allows us to unit test the override behaviour that will become more
complex soon.

Summary:

  • refactor: inline the python_register_toolchains
  • refactor: use toolchain_info to call python_register_toolchains
  • refactor: move the registration out of the main loop
  • refactor: split the parsing of the modules to a separate function
  • test(bzlmod): add python.toolchain module parsing tests

Work towards #2081

@aignas aignas enabled auto-merge September 11, 2024 01:24
@aignas aignas added this pull request to the merge queue Sep 11, 2024
Merged via the queue into bazel-contrib:main with commit c9972d3 Sep 11, 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