pygtk apps fail with gnome-3-34 extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Triaged
|
Medium
|
Heather Ellsworth |
Bug Description
For reference: https:/
The gnome-3-34-1804 content snap includes a python3 interpreter. For snaps that build python parts there is another python3 interpreter bundled as well. At runtime the bundled interpreter doesn't seem to be compatible with the version of python the modules were built with.
This can be worked around with a combination of build-environment and environment. Here's an excerpt:
apps:
app:
environment:
PATH: $SNAP_DESKTOP_
PYTHONPATH: $PYTHONPATH:
...
parts:
part:
plugin: meson
source: .
build-
- PATH: /snap/gnome-
...
Changed in snapcraft: | |
assignee: | nobody → Heather Ellsworth (hellsworth) |
Changed in snapcraft: | |
importance: | Undecided → Medium |
status: | New → Triaged |
And example of a PR which works around this issue https:/ /github. com/Unrud/ video-downloade r/pull/ 38