Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENG-3970] When normal pickle fails, try dill #4239

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Conversation

masenf
Copy link
Collaborator

@masenf masenf commented Oct 24, 2024

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

Fix #4147

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

Fix #4147
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.
Copy link

linear bot commented Oct 24, 2024

@adhami3310
Copy link
Member

Since we are adding dill to pyproject, is there any way that dill wouldn't be installed?

@masenf
Copy link
Collaborator Author

masenf commented Oct 24, 2024

Since we are adding dill to pyproject, is there any way that dill wouldn't be installed?

it's a dev dependency, so it only gets installed when you do poetry install. if you just pip install reflex, then it won't be included

@masenf masenf merged commit d85236b into main Oct 24, 2024
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQLAlchemy AssociationProxy creator lambda vs pickle
2 participants