-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Document effect of Python version on output path #4504
Copy link
Copy link
Closed as not planned
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-DocumentationDocumentation improvements that cannot be directly linked to other team labelsDocumentation improvements that cannot be directly linked to other team labelsteam-Rules-PythonNative rules for PythonNative rules for Pythontype: documentation (cleanup)
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)Issues or PRs that are stale (no activity for 30 days)team-DocumentationDocumentation improvements that cannot be directly linked to other team labelsDocumentation improvements that cannot be directly linked to other team labelsteam-Rules-PythonNative rules for PythonNative rules for Pythontype: documentation (cleanup)
Description of the problem / feature request:
Bazel 0.9.0 does not put
py_binarytargets 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-binremains 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 buildshould 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:fooprints:Modify
some_py_proj/BUILD:bazel build some_py_proj:foonow prints:and
bazel-binis symlinked to effectivelybazel-out/k8-fastbuild/binWhat 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_versionor by searching the web forbazel-bin default_python_version.