Skip to content

Commit

Permalink
bump the jobbergate agent snap base from core24 to core22 in order to…
Browse files Browse the repository at this point in the history
… fix the compiling error related to Pydantic when running the snap in Jammy
  • Loading branch information
matheushent committed Nov 13, 2024
1 parent 764bf5a commit 1e0ae54
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jobbergate-agent-snap/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: jobbergate-agent
base: core24
version: '0.3.0'
base: core22
version: '0.4.0'
summary: The Jobbergate Agent snap
adopt-info: metadata
license: MIT
Expand Down Expand Up @@ -51,10 +51,10 @@ parts:
- g++
- dpkg-dev
stage-packages:
- python3.12-minimal
- python3.12-venv
- libpython3.12-minimal
- libpython3.12-stdlib
- python3.10-minimal
- python3.10-venv
- libpython3.10-minimal
- libpython3.10-stdlib
build-attributes:
- enable-patchelf

Expand Down Expand Up @@ -82,7 +82,7 @@ apps:
daemon: simple
install-mode: disable
environment:
PYTHONPATH: "$SNAP/lib/python3.12/site-packages:${PYTHONPATH}"
PYTHONPATH: "$SNAP/lib/python3.10/site-packages:${PYTHONPATH}"

start:
command: commands/daemon.start
Expand Down

0 comments on commit 1e0ae54

Please sign in to comment.