Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should nuke almost certainly spurious "failure of target" caused by "running under Python 3" warning from Bazel. #14745

Closed
jamiesnape opened this issue Mar 8, 2021 · 4 comments · Fixed by #16259
Assignees
Labels
component: build system Bazel, CMake, dependencies, memory checkers, linters priority: backlog unused team: kitware

Comments

@jamiesnape
Copy link
Contributor

jamiesnape commented Mar 8, 2021

Specifically "The failure of target ..." may have been caused by the fact that it is running under Python 3 instead of Python 2. I fixed the issue in underactuated and manipulation, so I think it is a one-liner somewhere.

Relates #14739 (comment).

FYI @jwnimmer-tri @EricCousineau-TRI.

@jamiesnape jamiesnape added unused team: kitware priority: backlog component: build system Bazel, CMake, dependencies, memory checkers, linters labels Mar 8, 2021
@jamiesnape jamiesnape self-assigned this Mar 8, 2021
@jamiesnape
Copy link
Contributor Author

Russ's targets always explicitly set srcs_version = "PY3" and explicitly set python_version = "PY3" where appropriate.

@EricCousineau-TRI EricCousineau-TRI changed the title Nuke almost certainly spurious "failure of target" caused by "running under Python 3" warning from Bazel. Should nuke almost certainly spurious "failure of target" caused by "running under Python 3" warning from Bazel. Mar 8, 2021
@jwnimmer-tri
Copy link
Collaborator

I'm calling this good enough for now. I only fixed the drake_py_... targets. Any py_... targets from externals might still experience this warning, but shrug.

@jwnimmer-tri
Copy link
Collaborator

It turns out that mkdoc frequently spews about this as well, so I've done another PR (above) to fix that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: build system Bazel, CMake, dependencies, memory checkers, linters priority: backlog unused team: kitware
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants