Skip to content
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

Consider also majorver.minorver variant of Python interpreter #11

Merged
merged 4 commits into from
Aug 12, 2024

Conversation

nforro
Copy link
Member

@nforro nforro commented Aug 12, 2024

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

This comment was marked as outdated.

This comment was marked as outdated.

Signed-off-by: Nikola Forró <[email protected]>

This comment was marked as outdated.

This comment was marked as outdated.

This comment was marked as outdated.

Copy link
Contributor

@nforro nforro added the mergeit Zuul, merge it! label Aug 12, 2024
Copy link
Contributor

Build succeeded (gate pipeline).
https://softwarefactory-project.io/zuul/t/packit-service/buildset/65b428dad4704d3abfbc80b1afba6b69

✔️ pre-commit SUCCESS in 1m 23s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 931eff3 into main Aug 12, 2024
14 checks passed
@nforro nforro deleted the minorver branch August 12, 2024 11:37
dcermak added a commit to dcermak/rpm-spec-language-server that referenced this pull request Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit Zuul, merge it!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

importing rpm fails with python3.11-rpm Importing rpm fails on openSUSE Leap from a virtualenv
2 participants