-
-
Notifications
You must be signed in to change notification settings - Fork 678
Comparing changes
Open a pull request
base repository: bazel-contrib/rules_python
base: 0.39.0
head repository: bazel-contrib/rules_python
compare: 0.40.0
- 9 commits
- 21 files changed
- 4 contributors
Commits on Nov 13, 2024
-
refactor(pkg_aliases): create a macro for creating whl aliases (#2391)
This just cleans up the code and moves more logic from the repository_rule (i.e. generation of `BUILD.bazel` files) to loading time (macro evaluation). This makes the unit testing easier and I plan to also move the code that is generating config setting names from filenames to this new macro, but wanted to submit this PR to reduce the review chunks. Summary: - Add a new `pkg_aliases` macro. - Move logic and tests for creating WORKSPACE aliases. - Move logic and tests bzlmod aliases. - Move logic and tests bzlmod aliases with groups. - Add a test for extra alias creation. - Use `whl_alias` in `pypi` extension integration tests. - Improve the serialization of `whl_alias` for passing to the pypi hub repo. Related to #260, #2386, #2337, #2319 - hopefully cleaning the code up will make it easier to address those feature requests later. --------- Co-authored-by: Richard Levasseur <richardlev@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7b95ea6 - Browse repository at this point
Copy the full SHA 7b95ea6View commit details -
chore: change bcr presubmit to drop bazel 6, add last_rc (bazel 8) (#…
…2404) This removes Bazel 6 and adds last_rc (Bazel 8) in our BCR presubmit config. Right now, BCR releases fail because they try to test with Bazel 6, which doesn't work.
Configuration menu - View commit details
-
Copy full SHA for 1738faf - Browse repository at this point
Copy the full SHA 1738fafView commit details -
deps: update to gazelle 0.40.0 (#2403)
This allows us to drop the patch for removing native.sh_binary Work towards #2378
Configuration menu - View commit details
-
Copy full SHA for 541bcba - Browse repository at this point
Copy the full SHA 541bcbaView commit details
Commits on Nov 14, 2024
-
chore!: remove requirements.txt for the twine publishing tool (#2401)
`requirements_linux.txt` in the same folder should be used instead. Fixes #2242
Configuration menu - View commit details
-
Copy full SHA for c8ccd22 - Browse repository at this point
Copy the full SHA c8ccd22View commit details -
ci: add last_rc, remove extraneous pystar configs (#2405)
Run the bzlmod example with last_rc to match the BCR config. This should help catch any issues before a BCR release occurs. Along the way, cleanup the extraneous pystar configs. The rules_python Starlark implementation is enabled by default, and disabling it is unsupported.
Configuration menu - View commit details
-
Copy full SHA for 273cbd1 - Browse repository at this point
Copy the full SHA 273cbd1View commit details -
fix: upgrade to rules_proto 7.0.2 to pickup fix for Bazel 9 (#2408)
The ProtoInfo was removed in Bazel 9, but earlier versions of rules_proto still refer to it. This was fixed in rules_proto 7.0.0. Fixes #2400 --------- Co-authored-by: Ivo List <ilist@google.com>
Configuration menu - View commit details
-
Copy full SHA for 155efce - Browse repository at this point
Copy the full SHA 155efceView commit details
Commits on Nov 16, 2024
-
fix: keep import path values if Bazel-builtin PyInfo is removed (#2415)
The collect_imports() function added import strings from BuiltinPyInfo if it was non-None. However, operator precedence caused the `if-else` ternary to ignore both list comprehensions (one for PyInfo and one for BuiltinPyInfo) if BuiltinPyInfo was None. To fix, I rewrote the function as a regular for loop to eliminate the ambiguous looking ternary expression. Fixes: #2414
Configuration menu - View commit details
-
Copy full SHA for b304fc6 - Browse repository at this point
Copy the full SHA b304fc6View commit details
Commits on Nov 17, 2024
-
docs: tell how to do pyc-only builds (#2417)
Someone one Slack asked if this was possible and how to do, so document it for better visibility. There's a lot of flags, so its easy to not see how to do this.
Configuration menu - View commit details
-
Copy full SHA for 7467c6f - Browse repository at this point
Copy the full SHA 7467c6fView commit details -
chore: update changelog for 0.40.0 (#2416)
Add new version links and headers
Configuration menu - View commit details
-
Copy full SHA for 1944874 - Browse repository at this point
Copy the full SHA 1944874View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.39.0...0.40.0