reflex/tests/units
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
..
compiler use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
components use $ syntax (#4237) 2024-10-24 14:34:39 -07:00
experimental reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
middleware reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
states reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
utils fix: async default setters break setvar (#4169) 2024-10-24 14:27:35 -07:00
vars Do not auto-determine generic args if already supplied (#4148) 2024-10-11 17:08:39 -07:00
__init__.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
conftest.py add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
test_app.py add type hinting to events (#4145) 2024-10-14 08:44:31 -07:00
test_attribute_access_type.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_base.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_config.py fix and test bug in config env loading (#4205) 2024-10-24 10:27:23 -07:00
test_db_config.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_event.py LiteralEventChainVar becomes an ArgsFunctionOperation (#4174) 2024-10-16 11:35:09 -07:00
test_health_endpoint.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_model.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_page.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_prerequisites.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_route.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_sqlalchemy.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_state_tree.py add workflow to check dependencies on release branch (#4050) 2024-10-07 20:57:02 +02:00
test_state.py [ENG-3970] When normal pickle fails, try dill (#4239) 2024-10-24 16:19:32 -07:00
test_style.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_telemetry.py use pathlib as much as possible (#3967) 2024-10-03 17:50:39 +02:00
test_testing.py reorganize all tests in a single top folder (#3981) 2024-09-26 01:22:52 +02:00
test_var.py make var system expandable (#4175) 2024-10-21 17:05:13 -07:00