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

Remove dependency on rules_python #40

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

mark-thm
Copy link
Collaborator

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.

@mark-thm mark-thm requested a review from a team as a code owner May 22, 2024 20:15
@@ -11,9 +11,6 @@ bazel_dep(name = "buildifier_prebuilt", version = "6.1.2")
bazel_dep(name = "platforms", version = "0.0.8")
bazel_dep(name = "rules_multitool", version = "0.4.0")

# required for venv
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not actually required for venv

@thm-automation thm-automation bot enabled auto-merge (squash) May 22, 2024 20:16
@thm-automation thm-automation bot merged commit 6965c28 into main May 22, 2024
8 checks passed
@thm-automation thm-automation bot deleted the me/no-rules_python branch May 22, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants