-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows retiring almost all of the MIN_PYs. (orjson fails to import on 3.12) Removes the check python version wrapper 3dddf20
- Loading branch information
Showing
14 changed files
with
255 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
module(name = "hedron_compile_commands") | ||
|
||
use_extension("//:workspace_setup.bzl", "hedron_compile_commands_extension") | ||
use_extension("//:workspace_setup_transitive.bzl", "hedron_compile_commands_extension") | ||
use_extension("//:workspace_setup_transitive_transitive.bzl", "hedron_compile_commands_extension") | ||
use_extension("//:workspace_setup_transitive_transitive_transitive.bzl", "hedron_compile_commands_extension") | ||
|
||
# While we're supporting the WORKSPACE, we need to load rules_python through its WORKSPACE mechanism because the (currently unstable) bzlmod APIs differ just enough that loads would fail if you tried to support both at the same time. | ||
# But this is how you'd load rules_python from bzlmod: | ||
# bazel_dep(name = "rules_python", version = "0.27.1") | ||
# python = use_extension("@rules_python//python/extensions:python.bzl", "python") | ||
# python.toolchain( | ||
# python_version = "3.11", | ||
# ) | ||
# use_repo(python, "python_versions") | ||
# pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") | ||
# pip.parse( | ||
# hub_name = "hedron_compile_commands_pip", | ||
# # Available versions are listed in @rules_python//python:versions.bzl. | ||
# python_version = "3.11", | ||
# requirements_lock = "//:requirements.txt", | ||
# ) | ||
# use_repo(pip, "hedron_compile_commands_pip") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
0e5b1aa
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @cpsauer!
Looks like some big changes in this commit! Noticed this broke bzlmod support, haven't had a chance to look too far into it but just wanted to see if you were aware! Let me know if there's anything you'd like me to work on!