Document effect of Python version on output path #4504
Labels
P4
This is either out of scope or we don't have bandwidth to review a PR. (No assignee)
stale
Issues or PRs that are stale (no activity for 30 days)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-Rules-Python
Native rules for Python
type: documentation (cleanup)
Description of the problem / feature request:
Bazel 0.9.0 does not put
py_binary
targets withdefault_python_version = "PY3"
underbazel-bin
. Instead, built targets appear underbazel-out/
in a python3-specific bin directory rather than the same bin directory used by other targets (the one thatbazel-bin
remains symlinked to)I realize that Python 3 support is experimental, but is this expected behavior? I thought it was expected that any target built with
bazel build
should have its artifacts appear inbazel-bin
.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
some_py_proj/foo.py
:some_py_proj/BUILD
:bazel build some_py_proj:foo
prints:Modify
some_py_proj/BUILD
:bazel build some_py_proj:foo
now prints:and
bazel-bin
is symlinked to effectivelybazel-out/k8-fastbuild/bin
What operating system are you running Bazel on?
Ubuntu 16.04
What's the output of
bazel info release
?Have you found anything relevant by searching the web?
Nothing in release notes about the Python3 binary output directory changing since 0.6.1, which we are migrating from (this version did put the built python3 artifact under
bazel-bin
). Nothing relevant by searching issues fordefault_python_version
or by searching the web forbazel-bin default_python_version
.The text was updated successfully, but these errors were encountered: