Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…ppia#19947) * Fix Docker Failures on macOS from Failed Syscalls On macOS, failed syscalls under Docker were not handled properly by Python 2, which the Google Appengine development server runs under. Per [PEP-0475](https://peps.python.org/pep-0475/), the correct response to a failed syscall is to re-try the call, but this is not handled correctly until Python 3. Therefore, in this commit we patch the Google Appengine development server code to wrap the failing calls in try-except blocks. This patching is performed each time the Docker containers start up. For more details, see oppia#19271. * Add wsgi_server.py to exclusion lists * Add wsgi_server.py to linter ignore * Fix path to Google CLoud SDK * Tighten try-except conditions * Prefix edited wsgi_server.py filename with patched_
- Loading branch information