-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[workspace] Install libpython for consumers #17294
[workspace] Install libpython for consumers #17294
Conversation
Relates: RobotLocomotion#17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
@drake-jenkins-bot linux-focal-unprovisioned-gcc-bazel-experimental-snopt-mosek-packaging please. Blocked until the packaging job is complete and I can verify the resultant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-(status: do not merge) -(status: do not review) +(release notes: yes) (downstream consumers may have been working around this e.g., for docker
or something)
+@mwoehlke-kitware for feature review please.
In a fresh focal container I extracted the .tar.gz
from the packaging build for this PR and installed the vanilla packages (cat /opt/drake/share/drake/setup/packages-focal.txt | DEBIAN_FRONTEND=noninteractive TZ=America/NewYork xargs apt-get install -y --no-install-recommends
), the packages-focal.txt
determines what happens for apt
now which is why we are fixing it via fixing the .tar.gz
.
The expected error for drake-visualizer
in a headless container is now achieved:
# /opt/drake/bin/drake-visualizer
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Reviewable status: LGTM missing from assignee mwoehlke-kitware, needs platform reviewer assigned, needs at least two assigned reviewers, labeled "do not merge" (waiting on @mwoehlke-kitware)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: needs platform reviewer assigned, needs at least two assigned reviewers (waiting on @svenevs)
+@rpoyner-tri for platform review, please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status:complete! all discussions resolved, LGTM from assignees rpoyner-tri(platform),mwoehlke-kitware (waiting on @svenevs)
* [workspace] Install libpython for consumers Relates: RobotLocomotion#17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
* [workspace] Install libpython for consumers Relates: RobotLocomotion#17161. If consumers do a tar or deb install with --no-install-recommends they will not be able to run the python code without libpython.
Relates: #17161.
If consumers do a tar or deb install with --no-install-recommends
they will not be able to run the python code without libpython.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)