Short answer: No.
Prefect 2.20.x officially supports Python 3.8–3.12. Python 3.14 is not supported.
References:
- PyPI (2.20.25) classifiers show support up to 3.12:
https://pypi.org/project/prefect/2.20.25/
- Source metadata (setup.py at 2.20.25):
https://github.com/PrefectHQ/prefect/blob/2.20.25/setup.py
Recommendation:
- If you need to stay on Prefect 2.20.x (Prefect Cloud is fine), use Python 3.12.
- If you need a newer Python (e.g., 3.13/3.14), plan to move to Prefect 3.x when it adds support for those versions and verify the release notes before upgrading.