Python 3 support for external libraries #3010
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
team-Rules-Python
Native rules for Python
type: bug
I have a copy of matplotlib compiled for PY3 declared as an external library for my repo.
(the url is local for testing purposes)
The contents of the BUILD file is:
When I try to build a target that depends on the library:
The target in question has:
But bazel insists on building the library with python 2.
Adding --force_python PY3 to the build allows this target to built (but breaks all the python 2 projects in the repository)
Environment info
Operating System:
$ uname --all
Linux miennaco-debian 3.16.0-4-amd64 Update the Readme to give a short description of bazel. #1 SMP Debian 3.16.39-1+deb8u1 (2017-02-22) x86_64 GNU/Linux
Bazel version (output of
bazel info release
):Local build based on bazel-0.5.0-rc2
The text was updated successfully, but these errors were encountered: