Skip to content
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

New Release #280

Closed
blackwood-nomad opened this issue Mar 1, 2024 · 3 comments
Closed

New Release #280

blackwood-nomad opened this issue Mar 1, 2024 · 3 comments

Comments

@blackwood-nomad
Copy link

Would it be possible to do a new release that includes the the updates to the pygls package? #238
I think that will fix the ImportError: cannot import name 'Buffer' from 'typing_extensions' issues with the mypy extension when running on older versions of python.

@karthiknadig
Copy link
Member

Please try this pre-release build: 2023.9.10221010

@blackwood-nomad
Copy link
Author

That did it, thanks!

@karthiknadig karthiknadig closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@ShadowLNC
Copy link

@karthiknadig I am finding VSCode still prefers to install v2023.6.0 and I'm also having some issues that seem to be fixed in the pre-release - is it possible to ship a production release please?


Specifically when I get this warning pyproject.toml: [mypy]: enable_error_code: Invalid error code(s): ... due to an outdated bundled mypy version, then the rest of my enabled_error_code options are ignored, in this case ignore-without-type.

If I remove the "invalid" (new) error codes, then I see the ignore-without-type error in the VSCode "Mypy Type Checker" output, but it does not appear in the "problems" tab or in the file itself, and neither does a error: Unused "type: ignore" comment [unused-ignore] directive if I deliberately put a non-matching code instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants