Skip to content

Commit 7830671

Browse files
authored
0812dev (#5792)
1 parent 35c5d57 commit 7830671

File tree

8 files changed

+136
-135
lines changed

8 files changed

+136
-135
lines changed

pyi_hashes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"reflex/components/el/elements/tables.pyi": "e3f299e59bb8ff87aa949c6b606551c9",
4040
"reflex/components/el/elements/typography.pyi": "b4ec4ffb448f7a9b5f94712404448d9e",
4141
"reflex/components/gridjs/datatable.pyi": "98a7e1b3f3b60cafcdfcd8879750ee42",
42-
"reflex/components/lucide/icon.pyi": "c25feb9a25f30fbc53c1a075b696698a",
42+
"reflex/components/lucide/icon.pyi": "2e042d46ddeaf884e93f7f47edf6822c",
4343
"reflex/components/markdown/markdown.pyi": "2f84254a548e908020949564fc289339",
4444
"reflex/components/moment/moment.pyi": "93fa4c6009390fe9400197ab52735b84",
4545
"reflex/components/plotly/plotly.pyi": "4311a0aae2abcc9226abb6a273f96372",

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "reflex"
3-
version = "0.8.11dev1"
3+
version = "0.8.12dev1"
44
description = "Web apps in pure Python."
55
license.text = "Apache-2.0"
66
authors = [
@@ -149,7 +149,6 @@ lint.ignore = [
149149
"TC",
150150
"TD",
151151
"TRY0",
152-
"UP038",
153152
]
154153
lint.pydocstyle.convention = "google"
155154
lint.flake8-bugbear.extend-immutable-calls = [
@@ -230,7 +229,7 @@ fail_fast = true
230229

231230
[[tool.pre-commit.repos]]
232231
repo = "https://github.com/astral-sh/ruff-pre-commit"
233-
rev = "v0.12.12"
232+
rev = "v0.13.0"
234233
hooks = [
235234
{ id = "ruff-format", args = [
236235
"reflex",

reflex/components/lucide/icon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from reflex.vars.base import LiteralVar, Var
77
from reflex.vars.sequence import LiteralStringVar, StringVar
88

9-
LUCIDE_LIBRARY = "lucide-react@0.543.0"
9+
LUCIDE_LIBRARY = "lucide-react@0.544.0"
1010

1111

1212
class LucideIconComponent(Component):
@@ -674,6 +674,7 @@ def _get_imports(self):
674674
"eraser",
675675
"ethernet_port",
676676
"euro",
677+
"ev_charger",
677678
"expand",
678679
"external_link",
679680
"eye_closed",

reflex/constants/installer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Bun(SimpleNamespace):
1414
"""Bun constants."""
1515

1616
# The Bun version.
17-
VERSION = "1.2.21"
17+
VERSION = "1.2.22"
1818

1919
# Min Bun Version
2020
MIN_VERSION = "1.2.17"
@@ -75,7 +75,7 @@ class Node(SimpleNamespace):
7575

7676

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

@@ -143,11 +143,11 @@ def DEPENDENCIES(cls) -> dict[str, str]:
143143
"postcss-import": "16.1.1",
144144
"@react-router/dev": _react_router_version,
145145
"@react-router/fs-routes": _react_router_version,
146-
"vite": "npm:[email protected].8",
146+
"vite": "npm:[email protected].9",
147147
}
148148
OVERRIDES = {
149149
# This should always match the `react` version in DEPENDENCIES for recharts compatibility.
150150
"react-is": _react_version,
151151
"cookie": "1.0.2",
152-
"vite": "npm:[email protected].8",
152+
"vite": "npm:[email protected].9",
153153
}

reflex/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ def call_event_fn(
17821782
from reflex.event import EventHandler, EventSpec
17831783
from reflex.utils.exceptions import EventHandlerValueError
17841784

1785-
parsed_args, event_annotations = parse_args_spec(arg_spec)
1785+
parsed_args, _ = parse_args_spec(arg_spec)
17861786

17871787
parameters = inspect.signature(fn).parameters
17881788

reflex/istate/manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ async def set_state(self, token: str, state: BaseState):
355355
token: The token to set the state for.
356356
state: The state to set.
357357
"""
358-
client_token, substate = _split_substate_key(token)
358+
client_token, _ = _split_substate_key(token)
359359
await self.set_state_for_substate(client_token, state)
360360

361361
@override
@@ -370,7 +370,7 @@ async def modify_state(self, token: str) -> AsyncIterator[BaseState]:
370370
The state for the token.
371371
"""
372372
# Memory state manager ignores the substate suffix and always returns the top-level state.
373-
client_token, substate = _split_substate_key(token)
373+
client_token, _ = _split_substate_key(token)
374374
if client_token not in self._states_locks:
375375
async with self._state_manager_lock:
376376
if client_token not in self._states_locks:

tests/units/components/core/test_match.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def test_match_default_not_last_arg(match_case):
195195
"""
196196
with pytest.raises(
197197
ValueError,
198-
match="rx.match should have tuples of cases and one default case as the last argument.",
198+
match=r"rx\.match should have tuples of cases and one default case as the last argument\.",
199199
):
200200
Match.create(MatchState.value, *match_case)
201201

@@ -225,7 +225,7 @@ def test_match_case_tuple_elements(match_case):
225225
"""
226226
with pytest.raises(
227227
ValueError,
228-
match="A case tuple should have at least a match case element and a return value.",
228+
match=r"A case tuple should have at least a match case element and a return value\.",
229229
):
230230
Match.create(MatchState.value, *match_case)
231231

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

0 commit comments

Comments
 (0)