Skip to content

Version 0.3.0

Latest
Compare
Choose a tag to compare
@benley benley released this 12 Nov 20:23
· 29 commits to master since this release

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.