Hi, I upgraded pydantic `version = "2.10.5"` ->...
# ask-metaflow
h
Hi, I upgraded pydantic
version = "2.10.5"
->
version = "2.11.7"
and now seeing an error like below, is this a known issue?
Copy code
File "/tmp/ray/session_2025-06-16_12-59-52_860923_1/runtime_resources/working_dir_files/_ray_pkg_e01e7abcca487ccc/metaflow/datastore/task_datastore.py", line 369, in load_artifacts
    yield name, pickle.loads(blob)
                ^^^^^^^^^^^^^^^^^^
AttributeError: 'FieldInfo' object has no attribute 'evaluated'
h
Haven't seen that before. Does the artifact you're trying to load depend on pydantic?
h
Yeah, it depends on pydantic, I’ve seen mixed behavior with pydantic in the past that led me to convert to dict
h
And the same version of pydantic is being used to pickle and unpickle the object?
h
Yeah, should be the same pydantic version, we pin everything via poetry
h
Very strange. Do you have a minimal reproducible example so we can debug further?
h
Let me try to put one together and throw it in an issue for tracking
ty2 1
narrowed this down to version issues between image when pydantic config created and version in ray cluster that uses config in another step