Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-30559

keycloak-httpd-client-install doesn't work without python3-lxml but it's not dependency

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.9.0
    • appstream
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      Use keycloak-httpd-client-install to set up integration between keycloak and httpd.

      Please provide the package NVR for which bug is seen:

      keycloak-httpd-client-install-1.0-2.el8.noarch

      How reproducible:

      always

      Steps to reproduce

      1. dnf install -y keycloak-httpd-client-install
      1. keycloak-httpd-client-install --help

      Expected results

      The lxml dependency is pulled in in step 1, step 2 prints help

      Actual results

      The lxml dependency is not pulled in, step 2 fails with

      Traceback (most recent call last):
        File "/usr/bin/keycloak-httpd-client-install", line 19, in <module>
          from keycloak_httpd_client import keycloak_rest
        File "/usr/lib/python3.6/site-packages/keycloak_httpd_client/keycloak_rest.py", line 9, in <module>
          from keycloak_httpd_client import utils
        File "/usr/lib/python3.6/site-packages/keycloak_httpd_client/utils.py", line 21, in <module>
          from lxml import etree
      ModuleNotFoundError: No module named 'lxml'

            rhn-engineering-rhughes Richard Hughes
            aruzicka@redhat.com Adam Ruzicka
            Richard Hughes Richard Hughes
            Tomas Pelka Tomas Pelka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: