·
41 commits
to main
since this release
Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_py", version = "2.0.0-alpha.6")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: downgrade cryptography to <49 to include macos-intel wheels by @jbedard in #1362
- refactor: remove dead code by @jbedard in #1341
- perf(uv): extract wheel metadata per-wheel to avoid fetching sibling platform wheels by @jbedard in #1356
- feat(py_image_layer): support multiple binaries by @tamird in #1353
- fix(py): stamp py_pex_binary interpreter constraints from the binary's own interpreter by @jbedard in #1344
- chore: upgrae hermetic_launcher to v0.0.13 by @jbedard in #1273
- test(launcher): guard runfiles source selection from the 0.0.13 upgrade by @jbedard in #1367
- perf(uv): deduplicate wheel installs by @jbedard in #1370
- ci: enable macos runners by @jbedard in #1372
- chore: bump benchmark base version by @xangcastle in #1382
- test: .pth fallback for regular collision by @jbedard in #1383
- docs: clarify nested virtualenv migration by @TrapsterDK in #1369
- ci: force LF checkout so Windows text comparisons work by @jbedard in #1373
- test: remove race in pytest-xdist parallelism sentinel by @jbedard in #1374
- refactor: make use of package(default_testonly, default_visibility) by @jbedard in #1384
- feat: support PEP 427 data by @jbedard in #1371
- perf(py_venv): reuse addpackage's known_paths in the venv .pth addsitedir lines by @jbedard in #1381
- refactor: extract shared test launcher env setup by @jbedard in #1390
- fix: manifest-based runfiles launching by @jbedard in #1385
- fix(oci): make py_image_layer gzip output deterministic by @ctcjab in #1395
- fix: set tempdir vars to a shorter symlink to TEST_TMPDIR to prevent long path issues by @jbedard in #1389
- test: remove rules_python from main e2e test cases and isolate to e2e/rules-python-interop by @jbedard in #1393
- fix: read the .dist-info name from the wheel, not its filename by @jbedard in #1396
- feat: add flag to emit legacy rules_python providers by @jbedard in #1392
- fix: test coverage when chdir is specified by @jbedard in #1399
- refactor: remove unnecessary .zip=>.whl symlink for rctx.extract by @jbedard in #1400
- fix(uv): increase minimum bazel version to include rctx.{download_and,}extract file permission fixes by @xangcastle in #1386
- feat: add oci layer owner/group api by @jbedard in #1401
- fix: preserve files under a nested external/ directory in py_image_layer by @jbedard in #1402
- fix(uv): index stub packages in Gazelle manifests by @TrapsterDK in #1365
- refactor: name the pyc cache-to-source mapping in both implementations by @jbedard in #1409
- fix: drop bytecode orphaned by a site-packages merge by @jbedard in #1410
- fix(uv): drop wheel-supplied bytecode before precompiling by @jbedard in #1406
- test: add action count to benchmark analysis by @jbedard in #1411
- perf(py_venv): collapse namespace entries to single-owner directories by @jbedard in #1405
- perf: default whl pyc precompile check default to unchecked by @jbedard in #1403
New Contributors
- @TrapsterDK made their first contribution in #1369
Full Changelog: v2.0.0-alpha.5...v2.0.0-alpha.6