Package Details: openconnect-sso 0.8.0-6

Git Clone URL: https://aur.archlinux.org/openconnect-sso.git (read-only, click to copy)
Package Base: openconnect-sso
Description: Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication
Upstream URL: https://github.com/vlaci/openconnect-sso
Licenses: GPL3
Submitter: MrAnno
Maintainer: MrAnno (Daklon)
Last Packager: Daklon
Votes: 14
Popularity: 0.78
First Submitted: 2020-02-17 16:40 (UTC)
Last Updated: 2024-04-29 19:58 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

tmrd commented on 2024-04-05 11:00 (UTC)

Looks like there is now a new separate issue with python-keyring having a major version bump to v25:

bidskii commented on 2024-03-29 05:35 (UTC)

@MrAnno are you still maintaining this?

grkr commented on 2024-03-20 15:27 (UTC)

I "fixed" the lxml version issue by patching out the upper limit.

relax-lxml-version-constraints.patch:

diff -u -r openconnect-sso-0.8.0/PKG-INFO openconnect-sso-0.8.0-patched/PKG-INFO
--- openconnect-sso-0.8.0/PKG-INFO  2024-03-20 15:55:32.515937808 +0100
+++ openconnect-sso-0.8.0-patched/PKG-INFO  2024-03-20 15:55:48.942621134 +0100
@@ -26,7 +26,7 @@
 Requires-Dist: colorama (>=0.4,<0.5)
 Requires-Dist: importlib-metadata (>=3.10.0,<4.0.0); python_version < "3.8"
 Requires-Dist: keyring (>=21.1,<25.0.0)
-Requires-Dist: lxml (>=4.3,<5.0)
+Requires-Dist: lxml (>=4.3)
 Requires-Dist: prompt-toolkit (>=3.0.3,<4.0.0)
 Requires-Dist: pyxdg (>=0.26,<0.29)
 Requires-Dist: requests (>=2.22,<3.0)
diff -u -r openconnect-sso-0.8.0/setup.py openconnect-sso-0.8.0-patched/setup.py
--- openconnect-sso-0.8.0/setup.py  2024-03-20 15:55:32.515937808 +0100
+++ openconnect-sso-0.8.0-patched/setup.py  2024-03-20 15:55:45.255950723 +0100
@@ -12,7 +12,7 @@
  'attrs>=18.2',
  'colorama>=0.4,<0.5',
  'keyring>=21.1,<25.0.0',
- 'lxml>=4.3,<5.0',
+ 'lxml>=4.3',
  'prompt-toolkit>=3.0.3,<4.0.0',
  'pyxdg>=0.26,<0.29',
  'requests>=2.22,<3.0',

Seems to work fine for my use case.

tmrd commented on 2024-03-19 12:39 (UTC)

I'm also seeing this issue relating to lxml, it does indeed seem related to a major version bump as openconnect-sso dep range is limited to 4.x.x:

https://github.com/vlaci/openconnect-sso/blob/94128073ef49acb3bad84a2ae19fdef926ab7bdf/pyproject.toml#L27

For the time being I've rolled lxml back to 4.9.2:

pacman -U file:///var/cache/pacman/pkg/python-lxml-4.9.2-3-x86_64.pkg.tar.zst

czardien commented on 2024-03-15 10:43 (UTC) (edited on 2024-03-15 10:44 (UTC) by czardien)

Hi,

Hope you're well. Getting the following error when running openconnect-sso after a recent upgrade:

pkg_resources.DistributionNotFound: The 'lxml<5.0,>=4.3' distribution was not found and is required by openconnect-sso

Seeing the python-lxml package has been updated a few days ago to version 5.1.0 I'd say that's what's causing the issue? Might look into this today if I got time.

skimm commented on 2023-08-09 16:11 (UTC)

There is an open issue with the upstream to bump the version support. This patch worked for me and I have not noticed any issues.

diff --unified --recursive --text package.orig/PKG-INFO package.new/PKG-INFO
--- package.orig/PKG-INFO   2023-08-08 16:31:27.696118941 -0400
+++ package.new/PKG-INFO    2023-08-09 11:42:31.903241786 -0400
@@ -25,7 +25,7 @@
 Requires-Dist: attrs (>=18.2)
 Requires-Dist: colorama (>=0.4,<0.5)
 Requires-Dist: importlib-metadata (>=3.10.0,<4.0.0); python_version < "3.8"
-Requires-Dist: keyring (>=21.1,<24.0.0)
+Requires-Dist: keyring (>=21.1,<24.3.0)
 Requires-Dist: lxml (>=4.3,<5.0)
 Requires-Dist: prompt-toolkit (>=3.0.3,<4.0.0)
 Requires-Dist: pyxdg (>=0.26,<0.29)
@@ -201,4 +201,3 @@
 Alternatively you may just [get Poetry](https://python-poetry.org/docs/) and
 start developing by using the included `Makefile`. Type `make help` to see the
 possible make targets.
-
diff --unified --recursive --text package.orig/pyproject.toml package.new/pyproject.toml
--- package.orig/pyproject.toml 2023-08-08 16:31:27.696118941 -0400
+++ package.new/pyproject.toml  2023-08-08 16:31:51.012785049 -0400
@@ -25,7 +25,7 @@
 colorama = "^0.4"
 importlib-metadata = { version = "^3.10.0", python = "<3.8" }
 lxml = "^4.3"
-keyring = ">=21.1, <24.0.0"
+keyring = ">=21.1, <24.3.0"
 prompt-toolkit = "^3.0.3"
 pyxdg = ">=0.26, <0.29"
 requests = "^2.22"
diff --unified --recursive --text package.orig/setup.py package.new/setup.py
--- package.orig/setup.py   2023-08-08 16:31:27.696118941 -0400
+++ package.new/setup.py    2023-08-09 11:42:52.279907970 -0400
@@ -11,7 +11,7 @@
 ['PySocks>=1.7.1,<2.0.0',
  'attrs>=18.2',
  'colorama>=0.4,<0.5',
- 'keyring>=21.1,<24.0.0',
+ 'keyring>=21.1,<24.3.0',
  'lxml>=4.3,<5.0',
  'prompt-toolkit>=3.0.3,<4.0.0',
  'pyxdg>=0.26,<0.29',

XenGi commented on 2023-08-09 15:55 (UTC) (edited on 2023-08-09 15:55 (UTC) by XenGi)

Maybe it would be a good idea to patch out upper version limits in general. Arch only provides exactly one version which is usually the latest so we can't really do anything about versions anyway.

bechampion commented on 2023-08-09 12:39 (UTC) (edited on 2023-08-09 12:39 (UTC) by bechampion)

Hi guys. We need a patch for

'keyring>=21.1,<24.0.0'

as the latest update as of today is dropping:

❯ yay -Q python-keyring
python-keyring 24.2.0-1

Can this be submitted somewhere?

fft commented on 2023-06-26 13:04 (UTC)

Thank you for packaging. Possibly need to move python-setuptools from make() to depends() or at least to optdepends(), because of usage pkg_resources.

Deduct1069 commented on 2023-04-24 12:55 (UTC)

This package currently fails to run for me with an import error for the xdg module.

Guidance in the pinned comment in https://aur.archlinux.org/packages/python-xdg has additional information, but still somewhat confusing.

The source repo only lists (python-)pyxdg as dependency, not (python-)xdg, it seems to me that this dependency is not correct?

In any ways it appears to be working when I manually install python-pyxdg.