donkirkby / live-py-plugin

Live coding in Python with PyCharm, Emacs, Sublime Text, or even a browser
https://donkirkby.github.io/live-py-plugin
MIT License
289 stars 57 forks source link

PyCharm 2024.2 incompatibility #627

Open donkirkby opened 4 weeks ago

donkirkby commented 4 weeks ago

JetBrains compatibility scans started complaining about version 2024.2:

IntelliJ IDEA Ultimate 2024.2 eap (242.12881.66)4 compatibility problems. 1 usage of deprecated API. 6 usages of experimental API (Restart)
4 compatibility problems
Live Coding in Python 4.11.4 is binary incompatible with IntelliJ IDEA Ultimate IU-242.12881.66 due to the following problems
Class not found (4 problems)
Access to unresolved class PythonCommandLineState (3 problems)
Method LiveCodingAnalyst.start(Project, DataContext) references an unresolved class PythonCommandLineState. This can lead to NoSuchClassError exception at runtime.
Field LiveCodingAnalyst.commandLineState references an unresolved class PythonCommandLineState. This can lead to NoSuchClassError exception at runtime.
Method LiveCodingAnalyst.lambda$startProcess$8() references an unresolved class PythonCommandLineState. This can lead to NoSuchClassError exception at runtime.
Access to unresolved class PythonRunConfiguration (1 problem)
Method LiveCodingAnalyst.start(Project, DataContext) references an unresolved class PythonRunConfiguration. This can lead to NoSuchClassError exception at runtime.

Looks like the classes PythonCommandLineState and PythonRunConfiguration have been replaced, so figure out what to use instead.

donkirkby commented 4 weeks ago

Trying to reproduce the problem locally can't find the latest version of IDEA. I posted a question on the IntelliJ support forum.