-
-
Notifications
You must be signed in to change notification settings - Fork 573
Comparing changes
Open a pull request
base repository: bazel-contrib/rules_python
base: 0.19.0
head repository: bazel-contrib/rules_python
compare: 0.20.0
- 19 commits
- 48 files changed
- 8 contributors
Commits on Mar 5, 2023
-
chore: fix some lingering GH archive URLs (#1108)
This was pointed out in a thread on bazel-discuss@googlegroups.com
Configuration menu - View commit details
-
Copy full SHA for 51458e8 - Browse repository at this point
Copy the full SHA 51458e8View commit details
Commits on Mar 6, 2023
-
feat: add bzlmod support for gazelle plugin (#1077)
* feat: add optional pkg alias generation to pip_repository * feat: support using aliases in gazelle * doc: migrate gazelle example to use user friendly aliases * feat: gazelle supports bzlmod * chore: update gazelle plugin deps * chore: bazel run //:gazelle * fix: remove deps that are imported as bazel deps See: bazel-contrib/bazel-gazelle#1403 * ci: add build_file_generation to show that we support bzlmod
Configuration menu - View commit details
-
Copy full SHA for 7d82f06 - Browse repository at this point
Copy the full SHA 7d82f06View commit details -
docs: Simplify pull request template (#1100)
The existing template is very verbose with many of the lines not being applicable to any given PR. This also makes the PR description poorly suitable for a commit description. By having a cleaner PR description that is commit message friendly, whoever merges the PR can more easily create a meaningful commit message. It also allows other maintainer's to clean up the description prior to it being merged.
Configuration menu - View commit details
-
Copy full SHA for de8f428 - Browse repository at this point
Copy the full SHA de8f428View commit details -
chore: fix syntax that stardoc misunderstands as HTML (#1110)
Update requirements.bzl
Configuration menu - View commit details
-
Copy full SHA for c73dc0c - Browse repository at this point
Copy the full SHA c73dc0cView commit details
Commits on Mar 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 244c606 - Browse repository at this point
Copy the full SHA 244c606View commit details -
fix(bzlmod): expose ignore_root_user_error attribute from python_regi…
…ster_toolchains (#1114)
Configuration menu - View commit details
-
Copy full SHA for 0ba98a6 - Browse repository at this point
Copy the full SHA 0ba98a6View commit details
Commits on Mar 8, 2023
-
feat: add bzl_library for defs.bzl and its dependencies (#1115)
This is so that the transitive dependencies of defs.bzl can be easily found and validated; some Google internal tooling does this validation. The old comment indicated bzl_library wasn't used to avoid a dependency on skylib, however, we've since added a dependency on skylib. Work towards #1069
Configuration menu - View commit details
-
Copy full SHA for 7ffe2f7 - Browse repository at this point
Copy the full SHA 7ffe2f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8400610 - Browse repository at this point
Copy the full SHA 8400610View commit details -
fix: generation of toolchain aliases //:defs.bzl file. (#1088)
## PR Checklist Please check if your PR fulfills the following requirements: - [ ] Tests for the changes have been added (for bug fixes / features) - [ ] Docs have been added / updated (for bug fixes / features) ## PR Type What kind of change does this PR introduce? <!-- Please check the one that applies to this PR using "x". --> - [X] Bugfix - [ ] Feature (please, look at the "Scope of the project" section in the README.md file) - [ ] Code style update (formatting, local variables) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] CI related changes - [ ] Documentation content changes - [ ] Other... Please describe: ## What is the current behavior? <!-- Please describe the current behavior that you are modifying, or link to a relevant issue. --> With `common --experimental_enable_bzlmod` option defs.bzl is generated as ``` load("@rules_python~override//python/config_settings:transition.bzl", _py_binary = "py_binary", _py_test = "py_test") load("@rules_python~override//python:pip.bzl", _compile_pip_requirements = "compile_pip_requirements") ``` and these lines cause a problem at ``` load("@python3_9//:defs.bzl", "interpreter") ``` as ``` ERROR: .../BUILD:25:11: error loading package 'src': at .../external/rules_python~override~python~python3_9/defs.bzl:4:6: Unable to find package for @[unknown repo 'rules_python~override' requested from @rules_python~override~python~python3_9]//python:pip.bzl: The repository '@[unknown repo 'rules_python~override' requested from @rules_python~override~python~python3_9]' could not be resolved: No repository visible as '@rules_python~override' from repository '@rules_python~override~python~python3_9'. and referenced by '...' ``` Issue Number: N/A ## What is the new behavior? Generated load statements ``` load("@@rules_python~override//python/config_settings:transition.bzl", _py_binary = "py_binary", _py_test = "py_test") load("@@rules_python~override//python:pip.bzl", _compile_pip_requirements = "compile_pip_requirements") ``` ## Does this PR introduce a breaking change? - [ ] Yes - [X] No <!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information
Configuration menu - View commit details
-
Copy full SHA for 5ff514a - Browse repository at this point
Copy the full SHA 5ff514aView commit details
Commits on Mar 9, 2023
-
feat: make variable substitution for py_wheel abi, python_tag args (#…
…1113) Expands make variables in to `abi` and `python_tag` attributes --------- Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1c5b92b - Browse repository at this point
Copy the full SHA 1c5b92bView commit details -
feat: add bzl_library for proto.bzl (#1116)
This is mostly so Google internal tooling can find the complete deps, but also as a best practice for consumption by other rules and tools.
Configuration menu - View commit details
-
Copy full SHA for 3aa221f - Browse repository at this point
Copy the full SHA 3aa221fView commit details -
cleanup: Remove license comment in proto build file (#1118)
The license comments aren't necessary anymore.
Configuration menu - View commit details
-
Copy full SHA for 25e4175 - Browse repository at this point
Copy the full SHA 25e4175View commit details -
fix: restrict proto package visibility to private (#1117)
This is to prevent accidentally leaking targets that shouldn't be accessible. The `:python_toolchain` target is public because it's an implicit dependency of `py_proto_library`.
Configuration menu - View commit details
-
Copy full SHA for 9ef11b9 - Browse repository at this point
Copy the full SHA 9ef11b9View commit details -
cleanup: rename proto BUILD -> BUILD.bazel (#1119)
The rest of the project uses BUILD.bazel
Configuration menu - View commit details
-
Copy full SHA for 31d0efd - Browse repository at this point
Copy the full SHA 31d0efdView commit details -
feat: bzl file per rule/provider (#1122)
This is basically a performance optimization. Bazel can only see that a bzl file changed, not the particular contents. This means that any downstream bzl file loading it is invalidated, even if it doesn't load any of the affected code. As an example, if a package only loads `py_library.bzl`, then changing `py_test.bzl` doesn't need to invalidate all libraries. * Also removes some more extraneous license comments Work towards #1069
Configuration menu - View commit details
-
Copy full SHA for 756264a - Browse repository at this point
Copy the full SHA 756264aView commit details
Commits on Mar 11, 2023
-
cleanup: fix typo: libraries, not libaries (#1127)
Silent r's are tricky.
Configuration menu - View commit details
-
Copy full SHA for c0c08a3 - Browse repository at this point
Copy the full SHA c0c08a3View commit details -
feat: add public entry point for PyCcLinkParamsInfo (#1128)
This provides a public entry point for loading the underlying `PyCcLinkParamsProvider` provider that is built into Bazel. This provider isn't yet usable from Bazel, but adding a loadable way for it to migrate off the built-in rules is the first step. Work towards #1069
Configuration menu - View commit details
-
Copy full SHA for 4e3d01c - Browse repository at this point
Copy the full SHA 4e3d01cView commit details
Commits on Mar 13, 2023
-
cleanup: reformat defs.bzl doc string. (#1126)
The extraneous newlines were bothering me.
Configuration menu - View commit details
-
Copy full SHA for 31bc04b - Browse repository at this point
Copy the full SHA 31bc04bView commit details
Commits on Mar 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c394c46 - Browse repository at this point
Copy the full SHA c394c46View commit details
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.