Skip to content

Commit 0b170d3

Browse files
authored
Remove uvicorn and click dependencies in Emscripten (#1187)
1 parent bce9a50 commit 0b170d3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717

1818
* Closed #1178: Removed run-time dependency on asgiref. (#1183)
1919

20+
* The uvicorn and click packages are no longer needed when running on Emscripten. (#1187)
21+
2022
## [0.8.0] - 2024-03-04
2123

2224
### Breaking Changes

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ setup_requires =
3434
setuptools
3535
install_requires =
3636
typing-extensions>=4.0.1
37-
uvicorn>=0.16.0
37+
uvicorn>=0.16.0;platform_system!="Emscripten"
3838
starlette
3939
websockets>=10.0
4040
python-multipart
4141
htmltools>=0.5.1
42-
click>=8.1.4
42+
click>=8.1.4;platform_system!="Emscripten"
4343
markdown-it-py>=1.1.0
4444
# This is needed for markdown-it-py. Without it, when loading shiny/ui/_markdown.py,
4545
# Python emits the following: "UserWarning: The 'tasklists' feature of GitHub

0 commit comments

Comments
 (0)