Skip to content

Commit

Permalink
snap: use python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop authored Feb 10, 2024
1 parent fe9153f commit 607c10c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ parts:
stage-packages:
- git
- libpython3-stdlib
- libpython3.8-stdlib
- libpython3.8-minimal
- libpython3.9-stdlib
- libpython3.9-minimal
- python3-pip
- python3-setuptools
- python3-wheel
- python3-venv
- python3-minimal
- python3-distutils
- python3-pkg-resources
- python3.8-minimal
- python3.9-minimal
override-build: |
snapcraftctl build
curl -sSLO https://s3-us-east-2.amazonaws.com/dvc-public/dvc-test/openjdk-7u75-b13-linux-x64-18_dec_2014.tar.gz
Expand All @@ -67,4 +67,4 @@ parts:
find "${SNAPCRAFT_PART_INSTALL}" -type f -executable -print0 | xargs -0 sed -i "1 s|^#\\!${SNAPCRAFT_PART_INSTALL}/bin/python3.*$|#\\!/usr/bin/env python3|"
$SNAPCRAFT_PART_INSTALL/bin/python3 -m dvc completion -s bash > $SNAPCRAFT_PART_INSTALL/completion.sh
# python3 fixup symlink (snapcraft bug)
ln -sf ../usr/bin/python3.8 $SNAPCRAFT_PART_INSTALL/bin/python3
ln -sf ../usr/bin/python3.9 $SNAPCRAFT_PART_INSTALL/bin/python3

0 comments on commit 607c10c

Please sign in to comment.