guix_mirror_bot pushed a commit to branch master
in repository guix.
commit ada90373792a44afe3799f5e0e2d24c38a050587
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Aug 15 23:40:19 2025 +0100
gnu: openconnect-sso: Swap poetry with poetry-core.
* gnu/packages/vpn.scm (openconnect-sso): Update to 0.8.0.
[arguments] <phases>: 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 e511423525..e75baedbfd 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")