This is something that should be straightforward but I haven’t found any documentation in how to do so. I gladly appreciate your help.
I need to build an app that requires python 3.6. The snapcraft builds using python 3.5.
Any idea how I can build the snap with python 3.6 or python 3.7 ?
Im using build.snapcraft.io so i’m not sure how your suggestion helps.
You can see my snapcraft.yaml
file here.
name: yorokobi
base: core18
version: git
summary: Automatic PostgreSQL backups for web apps.
description: |
The agent is a system service that performs backups, encrypt and
transfer them to Yorokobi backup servers.
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict
apps:
yorokobi:
command: yorokobi
plugs:
- network
daemon:
command: yorokobid
daemon: simple
This file has been truncated. show original
It says base: core18
but still is using python 3.5
instead of python 3.6
.
You can see the log of the last build here.
Any idea?
build.snapcraft.io does not have support for core18 yet
I tried this, But the snap is still packaged with python3.5 and the all the modules go and sit in python3.5/site-packages folder. I am building on the official docker image for snapcraft.