-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Language server fails to load pylsp_black plugin in macOS app #17609
Comments
Nor is this remedied by including |
What if you add |
|
You could ask on the Black repo about it or add the file that ends in |
So including |
Problem Description
pylsp
fails to load thepylsp_black
plugin in the macOS standalone application. This does not appear to afflict Spyder installed from pip or conda, only the standalone application. I have not verified the Windows application. There are two issues:pathspec
is not included in the bundleblack
cannot be importedIn the lsp server log:
This indicates that the
pathspec
package is not included in the application bundle and is easily remedied by adding it toINCLUDES
. However, upon doing so, a subsequent issue arises:From the Spyder internal console, one can verify that the
pylsp_black
plugin is unable to load the black module.Further investigation is required to remedy this last issue.
Versions
Dependencies
The text was updated successfully, but these errors were encountered: