it's not possible to have two python parts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Critical
|
Leo Arias |
Bug Description
With the recent fix for python in classic [1], now each python part installs packages using parts/{
To reproduce:
$ git clone https:/
$ cd /tmp
$ mkdir bug
$ cd bug
Make in this directory a snapcraft.yaml with two parts that only have:
source: .
plugin: python
(there is one attached)
$ /tmp/snapcraft/
Parts 'p1' and 'p2' have the following file paths in common which have different contents:
lib/
lib/
lib/
Snapcraft offers some capabilities to solve this by use of the following keywords:
- `filesets`
- `stage`
- `snap`
- `organize`
Learn more about these part keywords by running `snapcraft help plugins`
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1138