summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2024-02-03 09:59:31 +0100
committernicolargo <nicolas@nicolargo.com>2024-02-03 09:59:31 +0100
commita5249a18933bffa350cc68e15653e8f88a77276f (patch)
tree9accd4618080716e9cbd3c0b777e5bef632d6ea2
parent6bc087485c18645aafdf4607639edb1a0c20dfca (diff)
Update Snapcraft
-rw-r--r--Makefile6
-rw-r--r--snap/snapcraft.yaml12
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