Fix incorrect work when using default_factory
Apply an upstream fix which removes cache decorator in order to fix an incorrect work when using field with default_factory. This issue was hit while trying to import linux 6.7 into v2025dev2.
The issue is fixed in dacite 1.8.1 which is available in Trixie, however tracking Trixie could lead to other issues if the version is updated. For that reason cherry-pick the patch.
Origin: upstream, https://github.com/konradhalas/dacite/pull/216
Signed-off-by: Walter Lozano walter.lozano@collabora.com
Edited by Walter Lozano