Leon Kozlowski
02/01/2023, 4:23 PMprefect cloud login -w <WORKSPACE_HERE> -k <API_KEY_HERE>
3. Registering a block via prefect block register --file src/block.py
4. Building a deployment via prefect deployment build src/flow.py:<NAME>
(with many other options)
5. Applying a deployment via prefect deployment apply <NAME>-deployment.yaml
This pipeline was working as expected in prefect==2.4.0
however since upgrading to prefect==2.7.5
we can only get to step 2 of this pipeline. After a successful login we see a warning log:
/usr/local/lib/python3.10/site-packages/prefect/context.py:496: UserWarning: Failed to create the Prefect home directory at /.prefect
with SettingsContext(profile=profile, settings=new_settings) as ctx:
This is being run inside of the docker image prefecthq/prefect:2.7.5-python3.10
Not sure of a path forward, I am also unsure why a .prefect
would be needed for a cloud deployment inside of an ephemeral deployment pipelineFile "/usr/local/lib/python3.10/site-packages/aiosqlite/core.py", line 405, in
connector
return sqlite3.connect(loc, **kwargs)
sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open
database file
(Background on this error at: <https://sqlalche.me/e/14/e3q8>)
Christopher Boyd
02/02/2023, 2:10 PMLeon Kozlowski
02/02/2023, 5:05 PMprefect==2.7.5
relating to sqlite migrations