v0.5.0
See the changelog.
Using Bzlmod:
Add to your MODULE.bazel
file:
bazel_dep(name = "rules_pycross", version = "0.5.0")
Using WORKSPACE
:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pycross",
sha256 = "f16b985a9eb7cf3258d78f07662d052c42b8270d424e5bc85e7a52bd670991d2",
strip_prefix = "rules_pycross-0.5.0",
url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.0/rules_pycross-v0.5.0.tar.gz",
)
# change this to something that works in your environment.
load("@python//3.12.0:defs.bzl", python_interpreter = "interpreter")
load("@rules_pycross//pycross:repositories.bzl", "rules_pycross_dependencies")
rules_pycross_dependencies(python_interpreter)
What's Changed
- Self-hosted dependencies (pycross using pycross) by @jvolkman in #53
- Update pre-commit config and run across the codebase. by @jvolkman in #54
- Rewrite the PDM translator to not depend on PDM by @jvolkman in #56
- Fix support for default python version when using pycross_register_for_python_toolchains by @jvolkman in #57
- Support lock generation in WORKSPACE by @jvolkman in #58
- Use the official pre-commit actions by @jvolkman in #60
- fix: pdm translator fails to resolve dependency if pre-release version is required by @betaboon in #59
- jvolkman_rules_pycross -> rules_pycross by @jvolkman in #62
- Remove target_environment from toolchain by @jvolkman in #64
- bzl_lock_generator refactoring by @jvolkman in #65
- Lock model tweaks by @jvolkman in #66
- 🎉 bzlmod support by @jvolkman in #68
- Tweaks for BCR by @jvolkman in #69
Full Changelog: v0.4...v0.5.0