Skip to content

Commit

Permalink
Fix snap builds on other arches (#548)
Browse files Browse the repository at this point in the history
Snap builds for several arches have been failing for a long time due to
the setuptools / pip `__legacy__` attribute issue.  This fixes that by
removing unnecessary system packages during the build

Fixes #521
  • Loading branch information
johnsca committed Sep 20, 2019
1 parent 09f4942 commit ef68b75
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ parts:
go-importpath: github.com/juju/charmstore-client
build-packages:
- bzr
- python-pip
- python-setuptools
- python3-pip
override-build: |
snapcraftctl build
pip install vergit
pip3 install vergit
vergit --format=json > $SNAPCRAFT_PART_INSTALL/charmstore-client-version
bhttp:
plugin: godeps
Expand All @@ -41,8 +40,6 @@ parts:
- git-core
- libssl-dev
- libffi-dev
- python3
- python3-setuptools
override-build: |
snapcraftctl build
vergit --format=json > $SNAPCRAFT_PART_INSTALL/charm-tools-version
Expand Down

0 comments on commit ef68b75

Please sign in to comment.