Skip to content

Commit

Permalink
remove app engine detection
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Jul 6, 2023
1 parent 8f019ba commit daca3cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Unreleased
- Don't fail when writing filenames to streams with strict errors. Replace invalid
bytes with the replacement character (````). :issue:`2395`
- Remove unnecessary attempt to detect MSYS2 environment. :issue:`2355`
- Remove outdated and unnecessary detection of App Engine environment. :pr:`2554`


Version 8.1.3
Expand Down
6 changes: 1 addition & 5 deletions src/click/_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
from weakref import WeakKeyDictionary

CYGWIN = sys.platform.startswith("cygwin")
# Determine local App Engine environment, per Google's own suggestion
APP_ENGINE = "APPENGINE_RUNTIME" in os.environ and "Development/" in os.environ.get(
"SERVER_SOFTWARE", ""
)
WIN = sys.platform.startswith("win") and not APP_ENGINE
WIN = sys.platform.startswith("win")
auto_wrap_for_ansi: t.Optional[t.Callable[[t.TextIO], t.TextIO]] = None
_ansi_re = re.compile(r"\033\[[;?0-9]*[a-zA-Z]")

Expand Down

0 comments on commit daca3cf

Please sign in to comment.