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
Hello all - recently, we released Dagster 1.5.5, which included long-awaited support for Pydantic 2. Dagster continues to support Pydantic 1.x, as we realize other packages that users depend on may not have updated their pins.
This discussion will collect reported issues with Pydantic 1.x and 2.x from Dagster 1.5.5+, and include troubleshooting steps.
Known issues
Dagster does not properly handle using pydantic<2.0.0 and pydantic-core
The pydantic-core package is new with Pydantic 2 and is installed automatically when downloading pydantic>=2.0.0. However, when downgrading Pydantic to 1.x and not removing pydantic-core, Dagster 1.5.5 will raise often-confusing errors based on this mismatch. A fix is shipping with Dagster 1.5.6. In the meantime, ensure you either are not installing pydantic-core or are using pydantic>=2.0.0.
Dagster libraries will error if version mismatched with the core dagster package
Because of the compatibility layer introduced in dagster 1.5.5, older versions of libraries may not work properly. Ensure that your dagster libraries are matching, either ==1.5.5 or ==0.21.5, depending on package versioning scheme.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all - recently, we released Dagster 1.5.5, which included long-awaited support for Pydantic 2. Dagster continues to support Pydantic 1.x, as we realize other packages that users depend on may not have updated their pins.
This discussion will collect reported issues with Pydantic 1.x and 2.x from Dagster 1.5.5+, and include troubleshooting steps.
Known issues
Dagster does not properly handle using
pydantic<2.0.0
andpydantic-core
The
pydantic-core
package is new with Pydantic 2 and is installed automatically when downloadingpydantic>=2.0.0
. However, when downgrading Pydantic to 1.x and not removingpydantic-core
, Dagster 1.5.5 will raise often-confusing errors based on this mismatch. A fix is shipping with Dagster 1.5.6. In the meantime, ensure you either are not installingpydantic-core
or are usingpydantic>=2.0.0
.Dagster libraries will error if version mismatched with the core
dagster
packageBecause of the compatibility layer introduced in dagster
1.5.5
, older versions of libraries may not work properly. Ensure that your dagster libraries are matching, either==1.5.5
or==0.21.5
, depending on package versioning scheme.Beta Was this translation helpful? Give feedback.
All reactions