Can you remove the upper limit of python-lxml to be less than 5.0, for arch users using pacman+aur instead of pip it's a pain to maintain this limitation.
Lugas7 opened this issue · 1 comments
When I comment out the following if check in line 872 in init.py:
if dist not in req:
# Oops, the "best" so far conflicts with a dependency
dependent_req = required_by[req]
raise VersionConflict(dist, req).with_context(dependent_req)
it works as expected, so then is the upper limit even neccesary?
I was fine with downgrading python-lxml with the downgrade app for arch but after updating recently after the downgrade the package lxml is no longer detected by python which is strange (I downgraded to 4.9.2), it is however detected with the newer version (5.1.0) though i get an error saying:
pkg_resources.DistributionNotFound: The 'lxml<5.0,>=4.3' distribution was not found and is required by openconnect-sso
I'm new to arch and linux in general, is this a problem with the out of date aur package instead? In which case I apologize for the inconvenience.
edit: the init.py I am referring to is the on in pkg_resources here: /usr/lib/python3.12/site-packages/pkg_resources/init.py (not the one for openconnect-sso)
My mistake, I believe it was an issue on the AUR side, I will close the issue. The openconnect-sso package was updated and it works now. Apologies for the inconvenience.