KEMBAR78
use sys.executable instead of `python3` for --install-types by asottile · Pull Request #10086 · python/mypy · GitHub
Skip to content

Conversation

@asottile
Copy link
Contributor

Description

This (for example) fixes the option on windows where python3.exe is either not a thing or it is a stub that opens the windows store

(Explain how this PR changes mypy.)

Test Plan

run mypy with --install-types on windows

@asottile
Copy link
Contributor Author

here's a screenshot of the issue courtesy of @ethanhs

Copy link
Member

@emmatyping emmatyping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this issue while reviewing #10052. Anthony is quick on the draw :)

@emmatyping emmatyping merged commit 88dde65 into python:master Feb 12, 2021
@asottile asottile deleted the sys_executable branch February 12, 2021 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants