opened
Andrei-Pozolotin
username_0
1. currently, `kivy-ios/recipes/python3/reduce_python` removes `wsgiref`

https://github.com/kivy/kivy-ios/blob/2cb084c26b7e9b45b027961cded13521b8db5b6b/kivy_ios/recipes/python3/__init__.py
```python
        # cleanup python libraries
        with cd(join(
                self.ctx.dist_dir, "root", "python3", "lib", "python3.8")):
            sh.rm("-rf", "wsgiref", "curses", "idlelib", "lib2to3",
                  "ensurepip", "turtledemo", "lib-dynload", "venv",
                  "pydoc_data")
```

2. that breaks `google-auth-oauthlib`

https://github.com/googleapis/google-auth-library-python-oauthlib

even in cases when `wsgiref` is not actually used in active code path, but merely due to `import`

https://github.com/googleapis/google-auth-library-python-oauthlib/blob/master/google_auth_oauthlib/flow.py
```python
import wsgiref.simple_server
import wsgiref.util
```
recipes/python3/reduce_python breaks google-auth-library-python-oauthlib via wsgiref
issue
created
misl6
username_1
@tito Do you remind why `wsgiref` was included in the cleanup? Just for some decluttering or something else?
comment