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

Analyzer: Only import sssd.source_* when needed #6125

Closed
wants to merge 1 commit into from

Conversation

jetomit
Copy link
Contributor

@jetomit jetomit commented Apr 27, 2022

This allows sss_analyze to run without python-systemd when using the Files backend.

@justin-stephenson
Copy link
Contributor

Ack from me, just note in RH based distros we still 'Require: python3-systemd' in spec files.

@jetomit
Copy link
Contributor Author

jetomit commented Apr 28, 2022

note in RH based distros we still 'Require: python3-systemd' in spec files.

That’s OK, my motivation was fixing sss_analyze for Guix which doesn’t have systemd packaged. On RH and Debian it probably makes sense to keep the require, since they use systemd anyway.

@alexey-tikhonov alexey-tikhonov added Waiting for review no-backport This should go to target branch only. labels May 26, 2022
@ikerexxe
Copy link
Contributor

The changes look good to me but some of the tests seem to be failing. Do you mind rebasing on top of the current branch and pushing the changes again to trigger a new CI build?

This allows sss_analyze to run without python-systemd when using the
Files backend.
@alexey-tikhonov
Copy link
Member

The changes look good to me but some of the tests seem to be failing. Do you mind rebasing on top of the current branch and pushing the changes again to trigger a new CI build?

@ikerexxe , CI is green now.

@pbrezina
Copy link
Member

Pushed PR: #6125

  • master
    • c104e25 - Analyzer: Only import sssd.source_* when needed

@pbrezina pbrezina added Pushed and removed Accepted Ready to push Ready to push labels Jun 17, 2022
@pbrezina pbrezina closed this Jun 17, 2022
@jetomit jetomit deleted the skip-unused-imports branch June 18, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants