Skip to content

automatic update process broken under windows 11 #163

Closed
@JHenneberg

Description

Describe the bug
Once a new version is released and due to a start of VSCode an update is triggered, the installation fails.

To Reproduce

  1. Install older version of current one.

  2. Start VSCode to trigger automatic update process
    image

  3. Restart VSCode
    image

  4. Check c:\Users\<USER>\AppData\Local\Programs\Python\Python310\Lib\site-packages\ folder: There are now two folders named:
    ~ortls-2.10.0.dist-info and ~ortls . There is no fortls folder

By executing pip install fortls the installation of the current version is performed correclty. Just the leftover folder are still there and have to be deinstalled manually.

When still on 2.10 and pip install fortls --upgrade is exectued manually there are no ghostfolders and the 2.11 is installed.

Expected behavior
Normal update process

Setup information (please complete the following information):

  • OS: Windows 11
  • Python Version: 3.10
  • fortls Version 2.10/2.11
  • Code editor used: VSCode

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions