-
Notifications
You must be signed in to change notification settings - Fork 29
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
Unwanted dependency on graphical packages due to PyGObject #134
Comments
Can you elaborate which part between 1.0.0 and 1.1.0 introduced that dependency? Actually, PyGObject was no longer a hard dependency since 0.2.1. PyGObject is used in this library for token encryption. If you use this library in "service environments", you may not need encryption at all. See also this sample snippet. |
Hey @rayluo thanks for the quick reply and the code references. Here's the installed dependencies for version 1.1.0 from the conda-forge package.
|
@xiangyan99 kindly helped us ship that conda package. I'll defer to him to answer whether |
@urucoder https://anaconda.org/microsoft/msal-extensions is our official conda repo. Did you have a chance to try this one? |
Hey, just checked the official package and doesn't contain the PyGObject dependency, closing this issue given the conda-forge package isn't officially maintained, thanks for your help |
Interesting. I know that our PyPI package contains no PyGObject but then the issue is our users have no easy way to install PyGObject when they want to. I thought a conda package would contain all dependencies which shall be harmless even when some users do not really need PyGObject. |
PyGObject is only needed for Linux and there is no PyGObject installer on anaconda main. We encourage users to install PyGObject from conda forge if they need. |
Hey folks, I realized that since version 1.1.0 this package add dependency on PyGObject, it is a graphical oriented package which add a bunch of dependencies on xorg-* packages, this is not wanted in service environments where no graphical interface is present.
Is there any option to make this dependency optional?
The text was updated successfully, but these errors were encountered: