Skip to content

Releases: benley/bazel_rules_pex

Version 0.3.0

12 Nov 20:23
Compare
Choose a tag to compare

Changes since 0.2.3:

  • pex_pytest rules now support the tags attribute
  • python-requests has been updated to 2.11.1
  • rules_pex is now compatible with Bazel 0.3.2 and 0.4.0, as well as XCode 8.x on MacOS.
  • Set PEX_ROOT during builds to avoid pex writing outside of the build sandbox
  • Try to use hard linking before falling back to a copy operation for the final output binary
  • It should now be possible to depend on pex_* and py_* rules defined in external repositories
  • pex_pytest now sets TEST_TMPDIR and PEX_ROOT at runtime to avoid pex trying to write to $HOME
  • Make better use of Bazel's runfiles mechanism to collect transitive source and data files. The implementation is considerably simpler now, and this should improve cross-compatibility with the the built-in bazel py_binary/py_library/py_test rules.
  • Switched to JSON instead of a bespoke textual manifest format to pass data from skylark to pex_wrapper at build time.
  • pex_pytest now marks its test runner script as testonly so bazel will allow dependencies on other testonly rules.

Version 0.2.3

15 Sep 22:15
Compare
Choose a tag to compare

New features:

  • pex_pytest rule now generates fancy junit XML output for Bazel, with
    full python class names and per-test timing data.
  • Support for bazel 0.3.1

Bugfixes:

  • Embedding data files from external repositories into a pex_binary
    should actually work now.

Other changes:

  • Updated pytest from 2.9.2 to 3.0.2
  • Removed a few unnecessary native.bind targets
  • Initial wrapper bootstrapping is more reliable than before, and
    slightly faster.