We are using prefect==2.3.2. When we install dependency, it install pydantic==2.0.2.
This is because fastapi has upgraded to pydantic>2 but prefect does not and…and prefect dependency does not restrict on upper limit that is pydantic > 2.0.0. When does prefect would updated upper limit of depandancy?
prefect==2.3.2
|── pydantic [required: >=1.8.2,!=1.9.1, installed: 2.0.2]
├── fastapi [required: >=0.70, installed: 0.100.0]
├── pydantic [required: >=1.7.4,<3.0.0,!=2.0.1,!=2.0.0,!=1.8.1,!=1.8, installed: 2.0.2]
Hi @maheshmmmec -
You can pin to pydantic<2 in your current environment.
This is fixed in the current version - you can view release notes here:
# Prefect Release Notes
## Release 2.10.20
### Resolving UI form input issues
This release resolves bugs preventing UI form inputs from being rendered and parsed correctly, including:
- Dates & times — https://github.com/PrefectHQ/prefect-ui-library/pull/1554
- List values — https://github.com/PrefectHQ/prefect-ui-library/pull/1556
- JSON fields — https://github.com/PrefectHQ/prefect-ui-library/pull/1557
### Prefect no longer supports Python 3.7
Python 3.7 reached end-of-life on 27 Jun 2023. Consistent with our warning, this release drops Python 3.7 support. Prefect now requires Python 3.8 or later.
### Enhancements
- Add UUID validation for webhook CLI commands to raise errors earlier and more clearly — https://github.com/PrefectHQ/prefect/pull/10005
- Clarify Dockerfile rename prompt in `prefect deploy` — https://github.com/PrefectHQ/prefect/pull/10124
- Improve `prefect deploy` error message — https://github.com/PrefectHQ/prefect/pull/10175
- Add `work_pool_name` to `Deployment` docstring — https://github.com/PrefectHQ/prefect/pull/10174
This file has been truncated. show original
Thanks. This has fixed the issue.