theoremlp / rules_uv

Bazel rules for running uv
Apache License 2.0
19 stars 7 forks source link

Remove dependency on rules_python #40

Closed mark-thm closed 1 month ago

mark-thm commented 1 month ago

Issue

The rules_python maintainers would like to depend on rules_uv to re-publish the pip_compile macro, but there's some uncertainty around whether a circular dependency between rules_uv and rules_python would cause problems. rules_uv only depends on there existing a Python toolchain at execution time, and otherwise doesn't need the explicit dependency, so we can remove it.

Summary

Remove the rules_python dependency from the main module and add it back in examples. Update the readme to help users continue to have a functioning ruleset.