From a5249a18933bffa350cc68e15653e8f88a77276f Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 3 Feb 2024 09:59:31 +0100 Subject: Update Snapcraft --- Makefile | 6 ++++++ snap/snapcraft.yaml | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index c8f84a07..4d809eba 100644 --- a/Makefile +++ b/Makefile @@ -174,6 +174,12 @@ flatpak: venv-dev-upgrade ## Generate FlatPack JSON file rm -rf ./flatpak-builder-tools @echo "Now follow: https://github.com/flathub/flathub/wiki/App-Submission" +# Snap package is automaticaly build on the Snapcraft.io platform +# https://snapcraft.io/glances +# But you can try an offline build with the following command +snapcraft: + snapcraft + # =================================================================== # Docker # =================================================================== diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index b230edaa..ea55494d 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -7,7 +7,7 @@ description: | Web based interface. It can adapt dynamically the displayed information depending on the user interface size. -base: core20 +base: core22 grade: stable confinement: strict @@ -57,7 +57,7 @@ parts: fastapi: plugin: python source: https://github.com/tiangolo/fastapi.git - source-tag: '0.104.1' + source-tag: '0.109.0' source-depth: 1 override-build: | mkdir -p $SNAPCRAFT_PART_BUILD/dist @@ -68,7 +68,7 @@ parts: uvicorn: plugin: python source: https://github.com/encode/uvicorn.git - source-tag: '0.24.0.post1' + source-tag: '0.27.0.post1' source-depth: 1 override-build: | mkdir -p $SNAPCRAFT_PART_BUILD/dist @@ -79,7 +79,7 @@ parts: orjson: plugin: python source: https://github.com/ijl/orjson.git - source-tag: '3.9.10' + source-tag: '3.9.12' source-depth: 1 override-build: | mkdir -p $SNAPCRAFT_PART_BUILD/dist @@ -90,7 +90,7 @@ parts: jinja2: plugin: python source: https://github.com/pallets/jinja.git - source-tag: '3.1.2' + source-tag: '3.1.3' source-depth: 1 override-build: | mkdir -p $SNAPCRAFT_PART_BUILD/dist @@ -101,7 +101,7 @@ parts: docker: plugin: python source: https://github.com/docker/docker-py.git - source-tag: '3.7.3' + source-tag: '7.0.0' source-depth: 1 override-build: | mkdir -p $SNAPCRAFT_PART_BUILD/dist -- cgit v1.2.3