reflex/reflex
Masen Furer d85236b9b0
[ENG-3970] When normal pickle fails, try dill (#4239)
* [ENG-3970] When normal pickle fails, try dill

If dill is not installed, suggest that the user `pip install` it.

Fix #4147

* re-lock depenedencies

* Include original pickle error message for better debugging

When the pickling throws a warning and dill is not installed, include the
original pickle error.

Add a test case for an object that even dill cannot pickle to ensure error path
is hit as expected.

* py3.9 compatibility
2024-10-24 16:19:32 -07:00
..
.templates use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
app_mixins improve lifespan typecheck and debug (#4014) 2024-09-27 16:17:30 -07:00
compiler use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
components use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
constants use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
custom_components move all environment variables to the same place (#4192) 2024-10-21 13:28:55 -07:00
experimental use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
istate move client storage classes to their own file (#4216) 2024-10-22 21:17:31 +02:00
middleware remove format_state and override behavior for bare (#3979) 2024-09-26 16:00:28 -07:00
utils use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
vars use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
__init__.py implement rx dynamic (#4195) 2024-10-22 14:27:04 -07:00
__init__.pyi implement rx dynamic (#4195) 2024-10-22 14:27:04 -07:00
__main__.py add __main__ entry point to allow python -m reflex (#1516) 2023-08-03 14:26:50 -07:00
admin.py upgrade to latest ruff (#3497) 2024-06-19 12:32:13 +02:00
app_module_for_backend.py Bring back py3.9 support with a deprecation warning. (#3976) 2024-09-23 18:15:16 -07:00
app.py use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
base.py Component as Var type (#3732) 2024-09-19 19:06:53 -07:00
config.py fix and test bug in config env loading (#4205) 2024-10-24 10:27:23 -07:00
event.py add additional typing for calling events (#4218) 2024-10-23 15:12:02 -07:00
model.py fix inverted alembic file check (#4238) 2024-10-24 14:26:31 -07:00
page.py re add removed method with better behaviour and tests (#3986) 2024-09-24 23:29:56 +02:00
reflex.py move all environment variables to the same place (#4192) 2024-10-21 13:28:55 -07:00
route.py [REF-2643] Throw Errors for duplicate Routes (#3155) 2024-05-03 12:15:40 -07:00
state.py [ENG-3970] When normal pickle fails, try dill (#4239) 2024-10-24 16:19:32 -07:00
style.py use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
testing.py fix and test bug in config env loading (#4205) 2024-10-24 10:27:23 -07:00