openconnect-sso icon indicating copy to clipboard operation
openconnect-sso copied to clipboard

pipx instructions don't install the latest

Open cponder opened this issue 3 years ago • 9 comments

I ran these instructions

sudo apt-get -y install pipx
pipx install "openconnect-sso"

This gave the output

  installed package openconnect-sso 0.7.3, installed using Python 3.10.6
  These apps are now globally available
    - openconnect-sso
done! ✨ 🌟 ✨

So it looks like it installed the backlevel 0.7.3 instead of the more current 0.8.0. How can I get the latest?

cponder avatar Mar 07 '23 15:03 cponder

Also, when I try to run this backlevel 0.7.3 version, I get the error

ModuleNotFoundError: No module named 'PyQt5'

Is there a simple command to install this? These looked like they worked

sudo apt-get -y install python3-pyqt5
pip install pyqt5

but the errors still happen. I'm running Ubuntu 22.04.

cponder avatar Mar 07 '23 15:03 cponder

I have the same issue installing on MacOS Ventura (13.2) with a virtualenv.

justinrporter avatar Mar 11 '23 19:03 justinrporter

  1. try pipx install pyqt5

Xandir150 avatar Apr 06 '23 13:04 Xandir150

see also #127

rapgro avatar Apr 11 '23 20:04 rapgro

latest version 0.8.0 seem to be called openconnect-ssom1 in pipx, no clue what the m1 stands for, or if they consider 0.7.3 as more stable up there?

bassdr avatar Jun 09 '23 13:06 bassdr

latest version 0.8.0 seem to be called openconnect-ssom1 in pipx, no clue what the m1 stands for, or if they consider 0.7.3 as more stable up there?

Great. Managed to get it to play? That 'm1' appears to cause issues. What is the right symlinking/renaming/whatever to get it to work?

dagbdagb avatar Jun 25 '23 21:06 dagbdagb

latest version 0.8.0 seem to be called openconnect-ssom1 in pipx, no clue what the m1 stands for, or if they consider 0.7.3 as more stable up there?

Great. Managed to get it to play? That 'm1' appears to cause issues. What is the right symlinking/renaming/whatever to get it to work?

Nope, no luck either, pipx install openconnect-ssom1 is broken for me too. The site-package folder will be openconnect_ssom1 but then it will later refer to openconnect-sso which does not exist. I did not bother hacking filesystem with symlinks and instead compiled it from this repo instead, and it does seem to work so far.

This might not be for the faint-hearted tho, and TBH I don't think there is much in this version that worth the effort. https://github.com/vlaci/openconnect-sso/compare/v0.7.3...v0.8.0

v0.8.0

  • Updating dependencies
  • Add support for MFA popup dialogs
  • Pass cookie in STDIN to hide its value in ps output
  • Support NixOS 21.11

If you are interrested, I'm on Gentoo and I created ebuild files in my personal overlay in order to install openconnect-sso from Gentoo's package manager: https://github.com/bassdr/gentoo-local-overlay/tree/master/dev-python/openconnect-sso

bassdr avatar Jun 26 '23 03:06 bassdr

I used pipx install --force git+https://github.com/vlaci/openconnect-sso@428ab94. The --force flag was necessary because I'd already installed 0.7.3 and I couldn't use upgrade (pipx returned Package cannot be a url when I tried to use the github URL).

socketbox avatar Jul 11 '23 00:07 socketbox

I have uploaded v0.8.1 to pypy containing all the changes from current git revision. I have still no ability to test this package, so any feedback is welcome.

vlaci avatar Jul 14 '23 15:07 vlaci