Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

typing_extensions #18

Closed
adam-coates opened this issue Jan 6, 2024 · 2 comments
Closed

typing_extensions #18

adam-coates opened this issue Jan 6, 2024 · 2 comments

Comments

@adam-coates
Copy link

adam-coates commented Jan 6, 2024

Describe the bug
Running :UpdateRemotePlugins, there is an error that the python package typing_extensions is not recognised. Therefore to fix this I had to manually pip install typing_extensions before using this plugin.

To Reproduce
Steps to reproduce the behavior:
If typing_extensions is not already installed, then :UpdateRemotePlugins won't work.

Expected behavior
Perhaps there's an issue with the install of the requirements for python packages within the script. I'm not sure exactly where but perhaps they need to be updated?

Version information

  • OS: linux
  • Neovim: 0.9.5
  • Gkeep: (all okay after pip install "typing_extensions")

EDIT: For more information the plugin worked fine prior to the commit 5d20831 , therefore an additional python package I had to install prior to the plugin working. And this is just an FYI, the problem is already resolved for me after pip installing typing_extensions.

@stevearc
Copy link
Owner

stevearc commented Jan 6, 2024

Thanks for the report! Previously we only used typing_extensions for python 3.8, but in that commit I started using assert_never, which is only available in typing_extensions in all versions of python. I updated the auto-install logic to install typing_extensions for all python versions.

@stevearc stevearc closed this as completed Jan 6, 2024
@adam-coates
Copy link
Author

Perfect thanks! That makes sense now since I use Python 3.11.6 which needs the addtitional typing_extensions to be able to use assert_never . But now the updated auto_install looks like it addresses this now.

Thanks very much! (great plugin!)

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

No branches or pull requests

2 participants