Flet version: 0.82.0
Problem: both httpx and oauthlib dependencies are excluded on Pyodide platform, but authorization_service.py does eager import of httpx and oauthlib packages.
Solution: do lazy imports.
Workaround: add this to pyproject.toml:
[tool.flet.web]
dependencies = [
"httpx",
"oauthlib"
]
Flet version: 0.82.0
Problem: both
httpxandoauthlibdependencies are excluded on Pyodide platform, butauthorization_service.pydoes eager import ofhttpxandoauthlibpackages.Solution: do lazy imports.
Workaround: add this to
pyproject.toml: