Max Eggers
01/07/2025, 2:56 PMMarvin
01/07/2025, 2:56 PMprefect.yaml
or through Python using classes like DeploymentEventTrigger
. Ensure your triggers are correctly defined as per the new configuration methods. Learn more here.
2. Upgrade Considerations: Prefect 3 maintains compatibility with most Prefect 2 workflows, but there are some caveats. For example, agents are replaced by workers, and work pools replace infrastructure blocks. Ensure your workflow aligns with these changes. Upgrade details.
3. Common Gotchas: Be aware that Prefect 3 uses Pydantic 2, and server data from Prefect 2.x is not compatible with 3.x. Also, Deployment.build_from_flow()
is removed; you should use the new method for deployment creation.
Review your deployment configurations and ensure they are updated to align with Prefect 3's new features and requirements.