From 09883d0c87b7eb8b0b741cc73c5553392a961416 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 11 May 2024 08:21:24 +0200 Subject: [PATCH 1/3] enable bookworm tests --- manifest.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index a16a6ef..26b4361 100644 --- a/manifest.toml +++ b/manifest.toml @@ -80,7 +80,13 @@ ram.runtime = "150M" main.default = 8484 [resources.apt] - packages = "python3.9, python3.9-venv" + packages_from_raw_bash = """ + if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then + echo "python3.9, python3.9-venv"; + elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then + echo "python3.11, python3.11-venv"; + fi + """ extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" From adba727c6e55d94efb9f07ed6dc083f289884299 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 12 May 2024 19:45:43 +0200 Subject: [PATCH 2/3] apply suggestion Co-authored-by: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> --- manifest.toml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/manifest.toml b/manifest.toml index 26b4361..f85300b 100644 --- a/manifest.toml +++ b/manifest.toml @@ -80,13 +80,7 @@ ram.runtime = "150M" main.default = 8484 [resources.apt] - packages_from_raw_bash = """ - if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then - echo "python3.9, python3.9-venv"; - elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then - echo "python3.11, python3.11-venv"; - fi - """ + package = "python3, python3-venv" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg" From da759de32b0316631a23acfe3dff535af48fe666 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 12 May 2024 19:46:47 +0200 Subject: [PATCH 3/3] typo --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index f85300b..067d8e7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -80,7 +80,7 @@ ram.runtime = "150M" main.default = 8484 [resources.apt] - package = "python3, python3-venv" + packages = "python3, python3-venv" extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main" extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"