Prefect Server Requires All Flow Dependancies To Be Installed At Deployment Time #10126
Open
4 tasks done
Labels
bug
Something isn't working
First check
Bug summary
The Prefect server, being hosted separately from the Prefect agent, for some reason requires all 3rd party packages (e.g., Pandas) to be installed when building the deployment.
This is unexpected because why should the server require a copy of these packages when the agent will be running the code?
Reproduction
I make sure that the agent has all dependencies by actually using a modified image for the agent.
Then I go into the CLI and move to the
/root/flows
directory, and I git clone a flow into there. Finally I try to deploy it, knowing that the agent contains all dependencies.Additional context
No response
The text was updated successfully, but these errors were encountered: