Skip to content

Remote cache doesn't work in Windows due to DOS style path #248

@LAWArthur

Description

@LAWArthur

In Windows, remote cache could never be fetched due to the DOS style path which uses backslashes.

For example, tracing Mathlib results in https://dl.fbaipublicfiles.com/lean-dojo\leanprover-community-mathlib4-29dcec074de168ac2bf835a77ef68bbe069194c5.tar.gz at cache.py:60, which urllib cannot recognize as a valid url due to the backslash.

A possible fix could be using pathlib instead of os.path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions