Skip to content

v0.5.4

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Apr 17:28
· 23 commits to main since this release
4d18870

See the changelog.

Using Bzlmod:

Add to your MODULE.bazel file:

bazel_dep(name = "rules_pycross", version = "0.5.4")

Using WORKSPACE:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_pycross",
    sha256 = "a2aa4921a09ba749459b8e47580f259f36efc8b0763d7e2420590d73e7306f13",
    strip_prefix = "rules_pycross-0.5.4",
    url = "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.4/rules_pycross-v0.5.4.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

  • fix: Remove + signs from repo name to handle torch+cu112 version naming by @ewianda in #91
  • fix: Don't generate pyc files on installation by @ewianda in #92
  • Fix e2e tests by @jvolkman in #94
  • Add all_whl_requirements similar to rules_python by @ewianda in #93

Full Changelog: v0.5.3...v0.5.4