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

Polkit dependency is not really optional for the GUI #613

Closed
sbraz opened this issue Mar 4, 2023 · 0 comments
Closed

Polkit dependency is not really optional for the GUI #613

sbraz opened this issue Mar 4, 2023 · 0 comments

Comments

@sbraz
Copy link
Contributor

sbraz commented Mar 4, 2023

Hi,
As reported here, the GUI does not start if Polkit is not installed.
There is a condition here that works:

try:
from gi.repository import Polkit
except ImportError:
Polkit = None

However, this condition is not optional:

gi.require_version('Polkit', '1.0')

Could you please look into making Polkit really optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants