-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing rpm fails on openSUSE Leap from a virtualenv #9
Comments
Also hit by this issue but it seems to affect only the Leap 15.6 image and not a bare-metal installation. |
Looks similar to the problem I found on Red Hat's ubi9 with the python311 stack there: #10 |
Yes, the fix for #10 will fix also this issue. Although the traceback would look similar even if it was a completely different issue 🙂
It depends on whether |
Consider also majorver.minorver variant of Python interpreter Fixes #9. Fixes #10. RELEASE NOTES BEGIN rpm-shim now considers also system Python interpreter called python{majorver}.{minorver} when gathering the list of paths to try importing the system rpm module from. Peviously only python{majorver} and platform-python were considered. RELEASE NOTES END Reviewed-by: Maja Massarini
What happened? What is the problem?
The rpm module fails to initialize rpm in a virtualenvironment on openSUSE Leap with python 3.11. To reproduce:
What did you expect to happen?
The import to succeed
Example URL(s)
No response
Steps to reproduce
No response
Workaround
Participation
The text was updated successfully, but these errors were encountered: