Upgrading to v0.10.x
Upgrade checklist¶
-
The package has been renamed from
brickflow
tobrickflows
. Please run:and then
-
If you are upgrading from a CDKTF version of brickflow then do not worry, the existing workflows as long as you do not change their names will be imported.
-
Start using project configurations following the quickstart guide.
-
Confirm the existence of the following files:
-
brickflow-multi-project.yml
- brickflow-project-root.yml
-
Please reference concepts and initialize project for more details.
-
RelativePathPackageResolver has been removed from the project to offer a seamless import as long as you import brickflow at the top.
-
Ensure import for brickflow is at the top of your entrypoint.py
-
Ensure import for brickflow is at the top of your entrypoint.py
-
Ensure your entrypoint looks like this. Make sure to click the plus buttons and read the highlighted sections:
- Make sure brickflow is at the top of your imports! This will help resolve paths and allow other libraries to be imported correctly.
- Import your modules after brickflow has been imported! Make sure your optimize imports doesnt reorder your imports!
- Make sure you remove brickflow and brickflow plugins and cron utils from this list.
- Make sure you have enable_plugins=True. This will enable the plugins to be loaded to support airflow operators, etc. Disable this if you dont want to install airflow.