PyPackageManager deprecation
Hello,
I'm working on a MicroPython plugin for PyCharm (and soon CLion). I want to add functionality using some pip libraries. I would like to be able to check if the current interpreter has the required libraries installed, and then prompt the user with a button to automatically download them if they are missing.
I've been searching through the api and so far I've only been able to find this PyPackageManager.getInstance().packages
. Now apparently this is deprecated and marked for removal. Is the removal planned for any of the early 2025 IDE builds? And is there some new replacement API or a different way to interact with the installed python packages from the plugin?
For actually handling the installation I've been using PyPackageManagerUI().install()
, which isn't deprecated itself, but it seems to be using the deprecated PyPackageManager under the hood.
Please sign in to leave a comment.
Hi lukas.kremla,
It is best to ask this on a special forum dedicated to plugin development -- https://intellij-support.jetbrains.com/hc/en-us/community/topics/200366979-IntelliJ-IDEA-Open-API-and-Plugin-Development , you may get a more extensive reply and other opinions there.