Skip to content

Missing dependences in docs for FastAPI #7745

@gronka

Description

@gronka

ALL software version info

(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc should be added within the dropdown below.)

Software Version Info
altair                    5.5.0
amqp                      5.3.1
annotated-types           0.7.0
anyio                     4.8.0
asgiref                   3.8.1
attrs                     25.1.0
billiard                  4.2.1
bleach                    6.2.0
blinker                   1.9.0
bokeh                     3.6.3
bokeh_fastapi             0.1.3
cachetools                5.5.2
celery                    5.4.0
certifi                   2024.12.14
cffi                      1.17.1
charset-normalizer        3.4.1
click                     8.1.8
click-didyoumean          0.3.1
click-plugins             1.1.1
click-repl                0.3.0
contourpy                 1.3.1
Django                    5.1.5
dnspython                 2.7.0
email_validator           2.2.0
fastapi                   0.115.10
fastapi-cli               0.0.7
gitdb                     4.0.12
GitPython                 3.1.44
greenlet                  3.1.1
h11                       0.14.0
httpcore                  1.0.7
httptools                 0.6.4
httpx                     0.28.1
idna                      3.10
Jinja2                    3.1.5
jsonschema                4.23.0
jsonschema-specifications 2024.10.1
kombu                     5.4.2
linkify-it-py             2.0.3
Markdown                  3.7
markdown-it-py            3.0.0
MarkupSafe                3.0.2
mdit-py-plugins           0.4.2
mdurl                     0.1.2
metafor                   0.4.0       /gm/wisk/wisk
narwhals                  1.28.0
numpy                     2.2.3
packaging                 24.2
pandas                    2.2.3
panel                     1.6.1
param                     2.2.0
pillow                    11.1.0
pip                       24.3.1
prompt_toolkit            3.0.48
protobuf                  5.29.3
psycopg2                  2.9.10
pyarrow                   19.0.1
pycparser                 2.22
pydantic                  2.10.6
pydantic_core             2.27.2
pydeck                    0.9.1
Pygments                  2.19.1
python-dateutil           2.9.0.post0
python-dotenv             1.0.1
python-multipart          0.0.20
pytz                      2025.1
pyviz_comms               3.0.4
PyYAML                    6.0.2
rabbitmq                  0.2.0
redis                     5.2.1
referencing               0.36.2
requests                  2.32.3
rich                      13.9.4
rich-toolkit              0.13.2
rpds-py                   0.23.1
shellingham               1.5.4
six                       1.17.0
smmap                     5.0.2
sniffio                   1.3.1
SQLAlchemy                2.0.37
sqlparse                  0.5.3
starlette                 0.46.0
streamlit                 1.42.2
sysrsync                  1.1.1
tenacity                  9.0.0
toml                      0.10.2
tornado                   6.4.2
tqdm                      4.67.1
typer                     0.15.2
typing_extensions         4.12.2
tzdata                    2024.2
uc-micro-py               1.0.3
urllib3                   2.3.0
uvicorn                   0.34.0
uvloop                    0.21.0
vine                      5.1.0
watchdog                  6.0.0
watchfiles                1.0.4
wcwidth                   0.2.13
webencodings              0.5.1
websockets                15.0
wsproto                   1.2.0
xyzservices               2025.1.0
yt-dlp                    2025.2.19

Description of expected behavior and the observed behavior

Complete, minimal, self-contained example code that reproduces the issue

FastAPI tutorial pages do not render anything to page until pip install wsproto.

pip install bokeh might also be required... I assume not, but I don't use python enough to test it.

I found the fix here, and it worked for me:
https://discourse.holoviz.org/t/is-the-fastapi-integration-broken/8398/2

Stack traceback and/or browser JavaScript console output

Screenshots or screencasts of the bug in action

  • I may be interested in making a pull request to address this

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsRelated to the Panel documentation and examples

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions