Skip to content

Commit

Permalink
ci(airflow): Pin Flask-Session version (#521)
Browse files Browse the repository at this point in the history
* Restrict pendulum version

Signed-off-by: Ankita Katiyar <[email protected]>

* Update airflow init step

Signed-off-by: Ankita Katiyar <[email protected]>

* Remove pendulum pin

Signed-off-by: Ankita Katiyar <[email protected]>

* Update create connections step

Signed-off-by: Ankita Katiyar <[email protected]>

* Pin flask session

Signed-off-by: Ankita Katiyar <[email protected]>

* Add comment

Signed-off-by: Ankita Katiyar <[email protected]>

---------

Signed-off-by: Ankita Katiyar <[email protected]>
  • Loading branch information
ankatiyar authored Jan 23, 2024
1 parent 5e3a540 commit a88ad7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kedro-airflow/features/steps/cli_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
def init_airflow(context, home_dir):
context.airflow_dir = context.temp_dir / home_dir
context.env["AIRFLOW_HOME"] = str(context.airflow_dir)
res = run([context.airflow, "db", "init"], env=context.env)
res = run(["airflow", "db", "migrate"], env=context.env)
assert res.returncode == 0


Expand Down
1 change: 1 addition & 0 deletions kedro-airflow/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ test = [
"behave",
"black~=22.0",
"connexion<3.0.0", # TODO: Temporary fix, connexion has changed their API, but airflow hasn't caught up yet
"Flask-Session<0.6", # TODO: Temporary pin, 0.6 breaks apache-airflow
"kedro-datasets",
"pre-commit>=2.9.2",
"pytest",
Expand Down

0 comments on commit a88ad7f

Please sign in to comment.