Shuchita Tripathi
04/04/2022, 1:59 PMKevin Kho
04/04/2022, 2:28 PMShuchita Tripathi
04/04/2022, 2:33 PMKevin Kho
04/04/2022, 4:05 PMpoetry
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 PMKevin Kho
04/04/2022, 4:28 PMpip 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
04/04/2022, 4:35 PMShuchita Tripathi
04/04/2022, 4:53 PMKevin Kho
04/04/2022, 5:31 PMShuchita Tripathi
04/04/2022, 5:47 PMKevin Kho
04/04/2022, 5:49 PM--show-flow-logs
and --log-level=DEBUG
to the agent and try running the flow?Shuchita Tripathi
04/04/2022, 5:49 PMAnna Geller
04/04/2022, 5:53 PMpip 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
04/04/2022, 5:56 PMShuchita Tripathi
04/04/2022, 5:58 PMAnna Geller
04/04/2022, 6:00 PMtemp_prefect_run()
to global scope and this should fix the issueShuchita Tripathi
04/04/2022, 6:01 PMAnna Geller
04/04/2022, 6:02 PMShuchita Tripathi
04/04/2022, 6:02 PMAnna Geller
04/04/2022, 6:03 PMShuchita Tripathi
04/04/2022, 6:04 PMAnna Geller
04/04/2022, 6:32 PMflow.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
04/04/2022, 6:38 PMShuchita Tripathi
04/04/2022, 6:39 PMAnna Geller
04/04/2022, 6:42 PMShuchita Tripathi
04/04/2022, 7:02 PM