google / subpar

Subpar is a utility for creating self-contained python executables. It is designed to work well with Bazel.
Apache License 2.0
567 stars 69 forks source link

Fix tests under Bazel 0.5.3+ #40

Closed duggelz closed 6 years ago

duggelz commented 6 years ago

Bazel now ignores the default_python_version and srcs_version attributes, so we wrap bazel test invocations inside a wrapper script that runs all tests under Python 2, and then runs all tests under Python 3.

duggelz commented 6 years ago

I removed the _2 config_setting, it was a leftover.