Bruno Nirello
05/24/2024, 5:23 PMMarvin
05/24/2024, 5:24 PMprefect deploy command may be linked to an issue with a dependency, specifically typer. The typer library released a new version that changes its default behavior, which can result in a NoneType is not iterable error when used with the Prefect CLI.
Here are the steps to resolve this issue:
1. Pin the typer dependency to a version below `0.10.0`:
   Update your requirements.txt or pyproject.toml to include the following line:
   python
   typer<0.10.0
2. Reinstall Dependencies:
   Reinstall your dependencies to ensure the correct version of typer is used:
   bash
   pip install -r requirements.txt
3. Retry the Command:
   Try running the prefect deploy command again.
The issue is being tracked on the Prefect GitHub repository, and you can follow it here.
Additionally, you may want to refer to the Prefect documentation for deployment-related configurations and troubleshooting:
- Prefect Deployment Guide
Hopefully, this resolves your issue. If the problem persists, you might want to keep an eye on the GitHub issue for further updates or discussions.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by