Bug 2567149
| Summary: | keycloak_httpd_client: ModuleNotFoundError: No module named 'pkg_resources' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | keycloak-httpd-client-install | Assignee: | Tomas Halman <thalman> |
| Status: | MODIFIED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | thalman |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2461178 | ||
|
Description
Miro Hrončok
2026-11-04 18:40:31 UTC
Let me know if you need upstream PR migrating away from pkg_resources. There are further undeclared dependencies:
$ keycloak-rest --help
Traceback (most recent call last):
File "/usr/bin/keycloak-rest", line 12, in <module>
import six
ModuleNotFoundError: No module named 'six'
$ keycloak-httpd-client-install --help
Traceback (most recent call last):
File "/usr/bin/keycloak-httpd-client-install", line 16, in <module>
import six
(six is also undesired for RHEL 11: https://github.com/fedora-eln/eln/issues/255 )
The pkg_resoruces problem also impacts RHEL 10:
$ python3
Python 3.12.15 (main, Oct 1 2026, 00:00:00) [GCC 14.3.1 20251022 (Red Hat 14.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keycloak_httpd_client
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.12/site-packages/keycloak_httpd_client/__init__.py", line 1, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
$ keycloak-rest --help
Traceback (most recent call last):
File "/usr/bin/keycloak-rest", line 14, in <module>
from keycloak_httpd_client import keycloak_rest
File "/usr/lib/python3.12/site-packages/keycloak_httpd_client/__init__.py", line 1, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
$ keycloak-httpd-client-install --help
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.12/site-packages/keycloak_httpd_client/__init__.py", line 1, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Let me know if I shall open a RHEL 10 Jira for this.
RHEL10 ticket https://redhat.atlassian.net/browse/RHEL-304361 FEDORA-2026-05b4a9c049 (keycloak-httpd-client-install-1.4-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-05b4a9c049 FEDORA-2026-cabd4e40ff (keycloak-httpd-client-install-1.4-1.fc45) has been submitted as an update to Fedora 45. https://bodhi.fedoraproject.org/updates/FEDORA-2026-cabd4e40ff |