Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break up
uvicorn[standard]
optional dependencies (#60)
Uvicorn lumps several optional dependencies into a "standard" extra: - `colorama` (for Windows) - `httptools` - `python-dotenv` - `pyyaml` - `uvloop` - `watchgod`/`watchfiles` (`watchgod` was renamed to `watchfiles`) - `websockets` There has been some discussion about the drawbacks of this approach: - encode/uvicorn#219 - encode/uvicorn#1274 - encode/uvicorn#1547 inboard has previously installed the "standard" extra by default. This commit will change the default to installing Uvicorn without "standard." This is a **BREAKING CHANGE** to inboard's dependencies. A new `inboard[uvicorn-fast]` extra will be added for dependencies from `uvicorn[standard]` related to web server performance, and can be installed by specifying the extra when installing inboard, like `python -m pip install 'inboard[fastapi,uvicorn-fast]'`: - `httptools` - `uvloop` - `websockets` For users who still need all the `uvicorn[standard]` extras, a new `inboard[uvicorn-standard]` extra will be added to the inboard package, and can be installed by specifying the extra when installing inboard, like `python -m pip install 'inboard[fastapi,uvicorn-standard]'`.
- Loading branch information