You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello 👋 I'm one of the Python maintainers for the OpenWrt packages feed. We have a user who wrote a script using MSAL and encountered an import error for webbrowser when run on their device (openwrt/packages#14198).
While the webbrowser module is part of the Python standard library, we don't ship webbrowser in our Python package to save disk space. AFAIK there also is no web browser package available for OpenWrt.
I see that webbrowser is only used in one place (_browse() in msal/oauth2cli/authcode.py). Would you be willing to accept a PR to move the import webbrowser statement into _browse()? This should fix the import error for the user (their script is non-interactive and does not need to open a browser) and allow our Python package to continue to not ship the webbrowser module.
The text was updated successfully, but these errors were encountered:
Hello 👋 I'm one of the Python maintainers for the OpenWrt packages feed. We have a user who wrote a script using MSAL and encountered an import error for
webbrowser
when run on their device (openwrt/packages#14198).While the
webbrowser
module is part of the Python standard library, we don't shipwebbrowser
in our Python package to save disk space. AFAIK there also is no web browser package available for OpenWrt.I see that
webbrowser
is only used in one place (_browse()
inmsal/oauth2cli/authcode.py
). Would you be willing to accept a PR to move theimport webbrowser
statement into_browse()
? This should fix the import error for the user (their script is non-interactive and does not need to open a browser) and allow our Python package to continue to not ship thewebbrowser
module.The text was updated successfully, but these errors were encountered: