Closed
Description
Hi. There was an issue filed under Typer that gives a full explanation, but basically the use of os.path.realpath
in the resolve_path
logic for click.Path differs between Python 3.7 and 3.8 on Windows. Prior to 3.8, os.path.realpath
did not resolve symlinks. Therefore Click users on Windows using Python 3.7 or lower are getting the wrong results for resolve_path.
More info: https://docs.python.org/3/library/os.path.html#os.path.realpath