Alex Ilyin
06/12/2024, 7:42 PMprefect deployment run
Marvin
06/12/2024, 7:42 PMprefect deployment run
command is likely due to an issue with a dependency called typer
. The relevant issue has been documented here on GitHub.
Here's a brief summary:
- Issue: Some CLI commands, including prefect deployment run
, are broken due to changes in typer
version 0.10.0
. This can cause commands to receive None
instead of an expected list, leading to the TypeError: 'NoneType' object is not iterable
error.
- Cause: typer
released a new version changing the default behavior which Prefect's CLI wasn't expecting.
- Solution: Downgrading typer
to a version below 0.10.0
should resolve the issue.
bash
pip install typer<0.10.0
Alternatively, you may want to keep an eye on the issue for any updates or fixes provided by the Prefect team.Nate
06/12/2024, 8:03 PMtyper
, since we have handled this in new versions of prefectAlex Ilyin
06/12/2024, 8:22 PM