Skip to content
Merged

0812dev #5792

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
Expand Up @@ -39,7 +39,7 @@
"reflex/components/el/elements/tables.pyi": "e3f299e59bb8ff87aa949c6b606551c9",
"reflex/components/el/elements/typography.pyi": "b4ec4ffb448f7a9b5f94712404448d9e",
"reflex/components/gridjs/datatable.pyi": "98a7e1b3f3b60cafcdfcd8879750ee42",
"reflex/components/lucide/icon.pyi": "c25feb9a25f30fbc53c1a075b696698a",
"reflex/components/lucide/icon.pyi": "2e042d46ddeaf884e93f7f47edf6822c",
"reflex/components/markdown/markdown.pyi": "2f84254a548e908020949564fc289339",
"reflex/components/moment/moment.pyi": "93fa4c6009390fe9400197ab52735b84",
"reflex/components/plotly/plotly.pyi": "4311a0aae2abcc9226abb6a273f96372",
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "reflex"
version = "0.8.11dev1"
version = "0.8.12dev1"
description = "Web apps in pure Python."
license.text = "Apache-2.0"
authors = [
Expand Down Expand Up @@ -149,7 +149,6 @@ lint.ignore = [
"TC",
"TD",
"TRY0",
"UP038",
]
lint.pydocstyle.convention = "google"
lint.flake8-bugbear.extend-immutable-calls = [
Expand Down Expand Up @@ -230,7 +229,7 @@ fail_fast = true

[[tool.pre-commit.repos]]
repo = "https://github.com/astral-sh/ruff-pre-commit"
rev = "v0.12.12"
rev = "v0.13.0"
hooks = [
{ id = "ruff-format", args = [
"reflex",
Expand Down
3 changes: 2 additions & 1 deletion reflex/components/lucide/icon.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from reflex.vars.base import LiteralVar, Var
from reflex.vars.sequence import LiteralStringVar, StringVar

LUCIDE_LIBRARY = "lucide-react@0.543.0"
LUCIDE_LIBRARY = "lucide-react@0.544.0"


class LucideIconComponent(Component):
Expand Down Expand Up @@ -674,6 +674,7 @@ def _get_imports(self):
"eraser",
"ethernet_port",
"euro",
"ev_charger",
"expand",
"external_link",
"eye_closed",
Expand Down
8 changes: 4 additions & 4 deletions reflex/constants/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Bun(SimpleNamespace):
"""Bun constants."""

# The Bun version.
VERSION = "1.2.21"
VERSION = "1.2.22"

# Min Bun Version
MIN_VERSION = "1.2.17"
Expand Down Expand Up @@ -75,7 +75,7 @@ class Node(SimpleNamespace):


def _determine_react_router_version() -> str:
default_version = "7.8.2"
default_version = "7.9.1"
if (version := os.getenv("REACT_ROUTER_VERSION")) and version != default_version:
from reflex.utils import console

Expand Down Expand Up @@ -143,11 +143,11 @@ def DEPENDENCIES(cls) -> dict[str, str]:
"postcss-import": "16.1.1",
"@react-router/dev": _react_router_version,
"@react-router/fs-routes": _react_router_version,
"vite": "npm:rolldown-vite@7.1.8",
"vite": "npm:rolldown-vite@7.1.9",
}
OVERRIDES = {
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
"react-is": _react_version,
"cookie": "1.0.2",
"vite": "npm:rolldown-vite@7.1.8",
"vite": "npm:rolldown-vite@7.1.9",
}
2 changes: 1 addition & 1 deletion reflex/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -1782,7 +1782,7 @@ def call_event_fn(
from reflex.event import EventHandler, EventSpec
from reflex.utils.exceptions import EventHandlerValueError

parsed_args, event_annotations = parse_args_spec(arg_spec)
parsed_args, _ = parse_args_spec(arg_spec)

parameters = inspect.signature(fn).parameters

Expand Down
4 changes: 2 additions & 2 deletions reflex/istate/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ async def set_state(self, token: str, state: BaseState):
token: The token to set the state for.
state: The state to set.
"""
client_token, substate = _split_substate_key(token)
client_token, _ = _split_substate_key(token)
await self.set_state_for_substate(client_token, state)

@override
Expand All @@ -370,7 +370,7 @@ async def modify_state(self, token: str) -> AsyncIterator[BaseState]:
The state for the token.
"""
# Memory state manager ignores the substate suffix and always returns the top-level state.
client_token, substate = _split_substate_key(token)
client_token, _ = _split_substate_key(token)
if client_token not in self._states_locks:
async with self._state_manager_lock:
if client_token not in self._states_locks:
Expand Down
6 changes: 3 additions & 3 deletions tests/units/components/core/test_match.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def test_match_default_not_last_arg(match_case):
"""
with pytest.raises(
ValueError,
match="rx.match should have tuples of cases and one default case as the last argument.",
match=r"rx\.match should have tuples of cases and one default case as the last argument\.",
):
Match.create(MatchState.value, *match_case)

Expand Down Expand Up @@ -225,7 +225,7 @@ def test_match_case_tuple_elements(match_case):
"""
with pytest.raises(
ValueError,
match="A case tuple should have at least a match case element and a return value.",
match=r"A case tuple should have at least a match case element and a return value\.",
):
Match.create(MatchState.value, *match_case)

Expand Down Expand Up @@ -302,7 +302,7 @@ def test_match_multiple_default_cases(match_case):
"""
with pytest.raises(
ValueError,
match="rx.match should have tuples of cases and one default case as the last argument.",
match=r"rx\.match should have tuples of cases and one default case as the last argument\.",
):
Match.create(MatchState.value, *match_case)

Expand Down
Loading
Loading