Skip to content

Conversation

@davidism
Copy link
Member

@davidism davidism commented Jul 6, 2023

Remove a check added by #1393 trying to fix #1338. The check only accounted for MSYS2 environments that used GCC. #1135 was later merged that added detection for Windows consoles, which would have also addressed the issue. I confirmed that click.echo and click.progressbar continued to work with the MSYS2 check removed, for msys2 and cygwin environments (which Python sees as posix) and mingw-w64 (which Python sees as Windows). fixes #2355

I also noticed that there was a check for Google App Engine. This check seems to be from when GAE still supported Python 2, and provided a special local dev server environment. The GAE standard environment sets different env vars now, and the local dev server appears to just run Python in Windows still (and is de-emphasized over running the usual flask dev server). I've removed that check as well.

@davidism davidism added this to the 8.1.4 milestone Jul 6, 2023
@davidism davidism linked an issue Jul 6, 2023 that may be closed by this pull request
@davidism davidism merged commit 9a536ee into 8.1.x Jul 6, 2023
@davidism davidism deleted the platform-detection branch July 6, 2023 15:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect platform detection when using MSYS2 MINGW64

2 participants