From ada90373792a44afe3799f5e0e2d24c38a050587 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 15 Aug 2025 23:40:19 +0100 Subject: [PATCH] gnu: openconnect-sso: Swap poetry with poetry-core. * gnu/packages/vpn.scm (openconnect-sso): Update to 0.8.0. [arguments] : Add 'use-poetry-core. [inputs]: Remove poetry. [native-inputs]: Add python-poetry-core. Change-Id: Ia69cb9d24cd3368a966297cfcdbafc655ab9f8ef --- gnu/packages/vpn.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm index e511423525cc89035f33a003fe4eb3d25876a05b..e75baedbfdfa8c921fbb0d683ff0d7426a669682 100644 --- a/gnu/packages/vpn.scm +++ b/gnu/packages/vpn.scm @@ -798,6 +798,12 @@ others.") (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'use-poetry-core + (lambda _ + ;; Patch to use the core poetry API. + (substitute* "pyproject.toml" + (("poetry.masonry.api") + "poetry.core.masonry.api")))) (add-after 'unpack 'patch-openconnect (lambda* (#:key inputs #:allow-other-keys) (substitute* "openconnect_sso/app.py" @@ -807,7 +813,6 @@ others.") "\"")))))))) (inputs (list openconnect - poetry python-attrs python-colorama python-keyring @@ -822,7 +827,8 @@ others.") python-toml qtwebengine-5)) (native-inputs - (list python-pytest + (list python-poetry-core + python-pytest python-pytest-asyncio python-pytest-httpserver)) (home-page "https://github.com/vlaci/openconnect-sso")