-
-
Notifications
You must be signed in to change notification settings - Fork 512
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
Jedi doesn't work with botostubs for AWS boto3 #1341
Comments
Can you try current master? It should work now. See also discussion in #839. |
I'm struggling to figure out how to get this working.
When I try to install it, per the documentation, I receive the same error about the
|
|
Almost forgot, you need to checkout latest parso as well. |
Good deal, the Do I have to check out parso somewhere specifically on the filesystem, so Jedi can find it? The parso integration tests in Jedi actually passed, when I ran
|
Also, I received a bunch of test errors later on:
|
@pcgeek86 No idea if those are actually issues. Especially the environment ones. In general parso needs to be upgraded, because imports changed and other breaking changes, so without upgrading parso you shouldn't even be able to run anything in Jedi. |
Since stubs are now working and Jedi 0.14.0 was released, can you try again? |
@davidhalter Sure! Happy to give it another try. How do I use a custom Jedi build with the Python extension for VSCode? I know the setting to configure in my |
You can just pip install it :) I'm not sure how you would go on about configuring it in VSCode. |
@pcgeek86 VSCode was released with Jedi 0.15.1. It would be even more interesting if you could try master, but it looked good for me on 0.15, so I guess we should be fine here. But you definitely have to check that you use a new VSCode version. |
Closing. If it's not fine, please let me know and I will reopen. |
Whereas:
boto3
Python module contains dynamically generated Python classes from API metadata, and doesn't include type hints nativelybotostubs
module to provide type hints forboto3
botostubs
Reproduction Steps
pip3 install boto3, botostubs
Then, try typing
s3.
and see if Intellisense results show up. You probably won't see the expected results[ print(item) for item in dir(s3) ]
.Disable Jedi, and then try again with the Microsoft Python Language Server Intellisense engine. It should work.
It would be great if this could get resolved, so we can use Jedi and also benefit from the
botostubs
module's type hints.The text was updated successfully, but these errors were encountered: