Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyi_hashes.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"reflex/__init__.pyi": "2fa0051c43f2d3d10114283480c666fb",
"reflex/__init__.pyi": "b304ed6f7a2fa028a194cad81bd83112",
"reflex/components/__init__.pyi": "ac05995852baa81062ba3d18fbc489fb",
"reflex/components/base/__init__.pyi": "16e47bf19e0d62835a605baa3d039c5a",
"reflex/components/base/app_wrap.pyi": "22e94feaa9fe675bcae51c412f5b67f1",
Expand Down
17 changes: 11 additions & 6 deletions reflex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,18 @@

from __future__ import annotations

from reflex.utils import (
compat, # for side-effects
lazy_loader,
)
import sys

from reflex.utils import lazy_loader

if sys.version_info < (3, 11):
from reflex.utils import console

# Remove the `compat` name from the namespace, it was imported for side-effects only.
del compat
console.warn(
"Reflex support for Python 3.10 is deprecated and will be removed in a future release. Please upgrade to Python 3.11 or higher for continued support."
)
del console
del sys

RADIX_THEMES_MAPPING: dict = {
"components.radix.themes.base": ["color_mode", "theme", "theme_panel"],
Expand Down
Loading