You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, dataclass-wizard no longer works. As a solution, maybe the _create_fn can be copied, or maybe a whole different approach is needed, I'm not sure.
The text was updated successfully, but these errors were encountered:
@benjjs Your PR looks good and seems it would solve the compatibility issue with 3.13. I added some notes, mostly minor stuff. Let me know when you're able to look into it, but it LGTM otherwise. Thanks!
Description
In
models.py
, there's a reference to the private function called_create_fn
. This function has been removed in Python 3.13:https://github.com/python/cpython/blob/2f8301cbfbdd2976d254a4a772b4879069dd4298/Lib/dataclasses.py#L491
As a result, dataclass-wizard no longer works. As a solution, maybe the
_create_fn
can be copied, or maybe a whole different approach is needed, I'm not sure.The text was updated successfully, but these errors were encountered: