Fix CI
Currently, CI fails both for dune-xt and dune-gdt with an error message like
/bin/sh: eval: line 122: pip3: not found
see for example this log.
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Owner
IIRC the
docker:stable
image is based on alpine. Alpine recently changed their python setup. https://zivgitlab.uni-muenster.de/ag-ohlberger/dune-community/dune-xt/-/blob/master/.ci/gitlab/config.yml#L37 could work withpip
instead ofpip3
. We should also use a fixed tag for the docker:stable image. - Owner
I remembered the real change now. They split pip out from the python3 package. Install py3-pip additionally and use pip
docker run docker:stable sh -c "apk --update add openssh-client rsync git file bash python3 py3-pip curl && pip install -U docker jinja2 docopt" fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz (1/45) Installing readline (8.0.4-r0) (2/45) Installing bash (5.0.17-r0) Executing bash-5.0.17-r0.post-install (3/45) Installing nghttp2-libs (1.41.0-r0) (4/45) Installing libcurl (7.69.1-r0) (5/45) Installing curl (7.69.1-r0) (6/45) Installing libmagic (5.38-r0) (7/45) Installing file (5.38-r0) (8/45) Installing expat (2.2.9-r1) (9/45) Installing pcre2 (10.35-r0) (10/45) Installing git (2.26.2-r0) (11/45) Installing libbz2 (1.0.8-r1) (12/45) Installing libffi (3.3-r2) (13/45) Installing gdbm (1.13-r1) (14/45) Installing xz-libs (5.2.5-r0) (15/45) Installing sqlite-libs (3.32.1-r0) (16/45) Installing python3 (3.8.3-r0) (17/45) Installing py3-appdirs (1.4.4-r1) (18/45) Installing py3-ordered-set (4.0.1-r0) (19/45) Installing py3-parsing (2.4.7-r0) (20/45) Installing py3-six (1.15.0-r0) (21/45) Installing py3-packaging (20.4-r0) (22/45) Installing py3-setuptools (47.0.0-r0) (23/45) Installing py3-chardet (3.0.4-r4) (24/45) Installing py3-idna (2.9-r0) (25/45) Installing py3-certifi (2020.4.5.1-r0) (26/45) Installing py3-urllib3 (1.25.9-r0) (27/45) Installing py3-requests (2.23.0-r0) (28/45) Installing py3-msgpack (1.0.0-r0) (29/45) Installing py3-lockfile (0.12.2-r3) (30/45) Installing py3-cachecontrol (0.12.6-r0) (31/45) Installing py3-colorama (0.4.3-r0) (32/45) Installing py3-distlib (0.3.0-r0) (33/45) Installing py3-distro (1.5.0-r1) (34/45) Installing py3-webencodings (0.5.1-r3) (35/45) Installing py3-html5lib (1.0.1-r4) (36/45) Installing py3-pytoml (0.1.21-r0) (37/45) Installing py3-pep517 (0.8.2-r0) (38/45) Installing py3-progress (1.5-r0) (39/45) Installing py3-toml (0.10.1-r0) (40/45) Installing py3-retrying (1.3.3-r0) (41/45) Installing py3-contextlib2 (0.6.0-r0) (42/45) Installing py3-pip (20.1.1-r0) (43/45) Installing libacl (2.2.53-r0) (44/45) Installing popt (1.16-r7) (45/45) Installing rsync (3.1.3-r3) Executing busybox-1.31.1-r16.trigger OK: 93 MiB in 65 packages Collecting docker Downloading docker-4.2.2-py2.py3-none-any.whl (144 kB) Collecting jinja2 Downloading Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting docopt Downloading docopt-0.6.2.tar.gz (25 kB) Collecting websocket-client>=0.32.0 Downloading websocket_client-0.57.0-py2.py3-none-any.whl (200 kB) Requirement already satisfied, skipping upgrade: six>=1.4.0 in /usr/lib/python3.8/site-packages (from docker) (1.15.0) Requirement already satisfied, skipping upgrade: requests!=2.18.0,>=2.14.2 in /usr/lib/python3.8/site-packages (from docker) (2.23.0) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-1.1.1.tar.gz (19 kB) Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /usr/lib/python3.8/site-packages (from requests!=2.18.0,>=2.14.2->docker) (3.0.4) Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /usr/lib/python3.8/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2.9) Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/lib/python3.8/site-packages (from requests!=2.18.0,>=2.14.2->docker) (1.25.9) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/lib/python3.8/site-packages (from requests!=2.18.0,>=2.14.2->docker) (2020.4.5.1) Using legacy setup.py install for docopt, since package 'wheel' is not installed. Using legacy setup.py install for MarkupSafe, since package 'wheel' is not installed. Installing collected packages: websocket-client, docker, MarkupSafe, jinja2, docopt Running setup.py install for MarkupSafe: started Running setup.py install for MarkupSafe: finished with status 'done' Running setup.py install for docopt: started Running setup.py install for docopt: finished with status 'done' Successfully installed MarkupSafe-1.1.1 docker-4.2.2 docopt-0.6.2 jinja2-2.11.2 websocket-client-0.57.0
- Author Maintainer
Seems to work, thanks! What do you mean by fixed tag for debian:stable? Should I replace
debian:stable
bydebian:10
? - Author Maintainer
Okay, I misread that, the correct question is: Should I replace
docker:stable
bydocker:19.03.12
? Collapse replies - Owner
Yeah, this.
- Tobias Leibner mentioned in merge request !22 (closed)
mentioned in merge request !22 (closed)
- Tobias Leibner mentioned in merge request !21 (merged)
mentioned in merge request !21 (merged)
- Tobias Leibner closed
closed