Skip to content

Commit b2b0da0

Browse files
masenfLendemor
andauthored
[REF-3149] Bring back py3.12 hot reload warning (#3537)
Warning for issue #3536 Co-authored-by: Lendemor <thomas.brandeho@gmail.com>
1 parent 046dbde commit b2b0da0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

reflex/utils/prerequisites.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,9 +955,10 @@ def needs_reinit(frontend: bool = True) -> bool:
955955
console.warn(
956956
"""Windows Subsystem for Linux (WSL) is recommended for improving initial install times."""
957957
)
958-
if sys.version_info >= (3, 12) and uvi_ver != "0.24.0.post1":
958+
if sys.version_info >= (3, 12):
959959
console.warn(
960-
f"""On Python 3.12, `uvicorn==0.24.0.post1` is recommended for improved hot reload times. Found {uvi_ver} instead."""
960+
"Python 3.12 on Windows has known issues with hot reload (reflex-dev/reflex#3536). "
961+
"Python 3.11 is recommended with this release of Reflex."
961962
)
962963

963964
if sys.version_info < (3, 12) and uvi_ver != "0.20.0":

0 commit comments

Comments
 (0)