Skip to content

v2.0.0-alpha.8

Choose a tag to compare

@github-actions github-actions released this 10 Oct 21:39
· 10 commits to main since this release
a75335d

Add to your MODULE.bazel file:

bazel_dep(name = "aspect_rules_py", version = "2.0.0-alpha.8")

And also register a Python toolchain, see rules_python. For example:

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
    python_version = "3.13",
)

What's Changed

  • test: on macos by @jbedard in #1570
  • feat(py): add pyi_deps for type-checking-only dependencies by @acozzette in #1569
  • chore: upgrade hermetic_launcher to v0.0.16 to include macos x86 fix by @jbedard in #1577
  • docs(pep517_native_whl): drop stale "cross-compilation unsupported" comment by @jbedard in #1573
  • fix(uv): gate sdist bootstrap-cycle warning behind RULES_PY_UV_VERBOSE by @jbedard in #1572
  • test(e2e): PyO3 extension modules built in-workspace, loaded and shipped by rules_py by @xangcastle in #1580
  • chore: rename rules_rust workaround patch name by @jbedard in #1581
  • fix(py): accept hub-qualified pip keys in py_layer_tier.groups by @xangcastle in #1578
  • fix(pytest): start coverage after chdir so config is discovered there by @jbedard in #1583
  • fix(py): strip output directory from WhlInstall pyc filenames by @jbedard in #1563
  • ci: move large-runner jobs to ubuntu-latest by @gregmagolan in #1584
  • chore: bump to cli 2026.41.24 by @gregmagolan in #1586
  • fix: assert all py_image_layer(binaries) are valid by @jbedard in #1585
  • refactor: address type errors found by ty by @acozzette in #1589
  • perf(py): skip claimant dedup for single-owner data files by @jbedard in #1594
  • chore: upgrade bazel_skylib@1.9.0, platforms@1.1.0, rules_cc@0.2.18 by @jbedard in #1596
  • refactor: use builtin set instead of skylib sets by @jbedard in #1593
  • refactor: replace dict-as-set idioms with builtin set by @jbedard in #1595
  • fix(py): carry bin/activate and console scripts into py_venv_link trees by @xangcastle in #1587
  • chore: iterate dicts directly instead of through .keys() by @jbedard in #1597
  • chore: remove dead code for bazel <8.6 by @jbedard in #1598
  • perf(uv): fast-path unquoted RECORD rows and use sets in layout derivation by @jbedard in #1590
  • test(uv): cover derive_layout directly by @jbedard in #1599
  • test(py): pin duplicate distribution metadata resolution order by @jbedard in #1600
  • perf(py): skip full collision resolution for single claimants by @jbedard in #1591
  • test(uv): exclude a whole namespace subtree shared by every consumer by @jbedard in #1601

Full Changelog: v2.0.0-alpha.7...v2.0.0-alpha.8