Shuchita Tripathi
04/04/2022, 1:59 PMKevin Kho
Shuchita Tripathi
04/04/2022, 2:33 PMKevin Kho
Kevin Kho
poetry
can’t handle this nicely but pip install does. This is not an issue Prefect controls since it has to do more with poetry and the azure library.
Our recommendation is to do something like
poetry export -f requirements.txt --output requirements.txt --without-hashes
and then move to condaShuchita Tripathi
04/04/2022, 4:17 PMShuchita Tripathi
04/04/2022, 4:23 PMShuchita Tripathi
04/04/2022, 4:26 PMKevin Kho
pip install azure-storage-blob
instead of the whole azure suite because they have so many packages underneath that conflict with each otherShuchita Tripathi
04/04/2022, 4:31 PMKevin Kho
Kevin Kho
Shuchita Tripathi
04/04/2022, 4:53 PMKevin Kho
Shuchita Tripathi
04/04/2022, 5:47 PMShuchita Tripathi
04/04/2022, 5:49 PMKevin Kho
--show-flow-logs
and --log-level=DEBUG
to the agent and try running the flow?Shuchita Tripathi
04/04/2022, 5:49 PMShuchita Tripathi
04/04/2022, 5:49 PMShuchita Tripathi
04/04/2022, 5:52 PMAnna Geller
pip install azure-storage-blob
to avoid dependency clashes.
how far are you in the onboarding process with 1.0? if this is not working for you in 1.0, you could consider upgrading to Prefect 2.0 already 🙂 we manage dependencies more reliably in 2.0 using Prefect Collections - here is one for AzureShuchita Tripathi
04/04/2022, 5:54 PMAnna Geller
Shuchita Tripathi
04/04/2022, 5:58 PMShuchita Tripathi
04/04/2022, 5:58 PMAnna Geller
Anna Geller
temp_prefect_run()
to global scope and this should fix the issueShuchita Tripathi
04/04/2022, 6:01 PMShuchita Tripathi
04/04/2022, 6:02 PMAnna Geller
Shuchita Tripathi
04/04/2022, 6:02 PMAnna Geller
Anna Geller
Shuchita Tripathi
04/04/2022, 6:04 PMAnna Geller
flow.register()
or prefect register
CLI, you are doing it already via an API call. What exactly is the requirement? Is this about the audit trail of who registered a flow and when?Shuchita Tripathi
04/04/2022, 6:34 PMAnna Geller
Shuchita Tripathi
04/04/2022, 6:39 PMAnna Geller
Anna Geller
Anna Geller
Shuchita Tripathi
04/04/2022, 7:02 PM