File tree 4 files changed +5
-2
lines changed 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ PyYAML==5.3
6
6
pyxdg == 0.26
7
7
requests == 2.20.0
8
8
requests_unixsocket == 0.1.5
9
- http://archive.ubuntu.com/ubuntu/pool/main/p/python-apt/python-apt_1.6.5ubuntu0.2.tar.xz; sys_platform == 'linux'
10
9
https://launchpad.net/python-distutils-extra/trunk/2.39/+download/python-distutils-extra-2.39.tar.gz
11
10
requests-toolbelt == 0.8.0
12
11
responses == 0.5.1
Original file line number Diff line number Diff line change 85
85
plugin : python
86
86
requirements :
87
87
- requirements.txt
88
+ stage-packages :
89
+ - python3-apt
88
90
organize :
89
91
# Put snapcraftctl into its own directory that can be included in the PATH
90
92
# without including other binaries.
Original file line number Diff line number Diff line change @@ -260,6 +260,7 @@ suites:
260
260
libxml2-dev \
261
261
libxslt-dev \
262
262
libyaml-dev \
263
+ python3-apt \
263
264
python3-venv \
264
265
python3-yaml \
265
266
python3.6-dev \
@@ -542,7 +543,7 @@ suites:
542
543
SNAPCRAFT_PACKAGE_TYPE : " snap"
543
544
prepare : |
544
545
apt-get update
545
- apt-get install --yes gcc g++ make python3-dev python3-pip python3-wheel libffi-dev libsodium-dev libapt-pkg-dev squashfs-tools xdelta3 bzr git mercurial subversion libxml2-dev libxslt-dev
546
+ apt-get install --yes gcc g++ make python3-apt python3- dev python3-pip python3-wheel libffi-dev libsodium-dev libapt-pkg-dev squashfs-tools xdelta3 bzr git mercurial subversion libxml2-dev libxslt-dev
546
547
pip3 install --user --upgrade pip
547
548
$PIP_COMMAND install --user --upgrade wheel setuptools
548
549
$PIP_COMMAND install --user -r /snapcraft/requirements.txt -r /snapcraft/requirements-devel.txt
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ lxc exec snapcraft-dev -- apt install --yes \
43
43
libyaml-dev \
44
44
make \
45
45
patchelf \
46
+ python3-apt \
46
47
python3-dev \
47
48
python3-pip \
48
49
python3-venv \
You can’t perform that action at this time.
0 commit comments