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
MacApp: Jedi Completion Not Entirely Working from Non-conda environment #12259
Comments
This issue does not manifest when launching spyder (bootstrap) from the conda launch environment (listed above). While Spyder does not officially support non-conda environments, this is relevant for the stand-alone Mac application. I've attached two language server logs, one from the successful operation and one from the failed operation. Of particular note is near the end of the logs, server_python_conda.log Pyenv launch case:
Conda launch case:
Here you can see that command completions for xml, xmlrpc, and xdrlib show up in both launch cases, and come from the external conda envrionment (c2w_37_spy). The conda launch case is the only one with
|
Okay, I think this may be a bug with |
FYI: This issue may be resolved with a pending update to jedi (>0.17.0). See davidhalter/jedi#1546. |
Great to know!
We can use that PR until we're able to support the Jedi versions that come with that fix in the Python language server. |
issue already exists: palantir/python-language-server#744 |
There is yet another bug when the target environment python libraries are not in a standard location. See davidhalter/jedi#1617, davidhalter/jedi#1619, and palantir/python-language-server#822. |
Thanks @mrclary! Let's hope Jedi's 0.17.2 is released soon so we can also release a new version of the PyLS with your fix. |
@mrclary, just by supporting Jedi 0.17.2 this bug is solved? |
Along with palantir/python-language-server#822 (which you just merged), yes, adoption of Jedi 0.17.2 is all that is required. |
Great! Thanks for letting me know about it. |
This was fixed by #13839. |
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Jedi command completion does not seem to work completely when Spyder is started from non-conda environments.
What steps reproduce the problem?
xarray
import x
and <tab>xarray
What is the expected output? What do you see instead?
command completion options should include packages in the external python interpreter
Versions
Dependencies
Dependencies
Conda launch environment
Pyenv launch environment
External Conda Environment
The text was updated successfully, but these errors were encountered: