pycharm2021.2 on Windows.
For each project, a remote interpreter is configured with SSH to my Windows Subsystem Linux.
Inside WSL, pyenv installed, and all my python projects are managed by poetry ; running "poetry install" installs venv inside the project.
After installting pycharm 2022.2, each time I open a project, it erases the used pyenv python3.9 binary file and all libraries inside .venv (all .py files but none of .pyc cache files), files are all there but empty (0 byte). See screenshots.
Note that, all other python versions inside pyenv are not affected, only the one used by the project opened with pycharm 2022.2 for the first time.
After reinstall the pyenv version (pyenv uninstall 3.9.5 ; pyenv install 3.9.5) and the .venv (rm -rf .venv ; poetry install), then reconfiguring the deployment (SFTP) part (because I suspect it), it's ok.
I would like to avoid to reinstall/reconfigure for each reopened project, so I'd like to understand what's happening :/
Thanks in advance !