Python plugin --classic snap conflicts with system python
Bug #1880319 reported by
Casper
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Invalid
|
Undecided
|
Unassigned | ||
dvc |
New
|
Undecided
|
Unassigned |
Bug Description
Using a published `confinement: classic` snap using `plugin: python`, multiple people seem to have reported the snap trying to use/`import` host libraries rather than the dependencies installed during the snap plugin's build stage.
Errors:
https:/
Snapcraft config:
https:/
This seems to be a bug in the interpreter that dvc is running itself. In command there is bin/dvc, and bin/dvc is just a script calling python from $PATH, and as such, the "python" found in PATH is python from the system.