Skip to content

Commit fe49e94

Browse files
committed
build: upgrade to airflow 3.0.3rc3 and remove patched that're no longer needed
1 parent 5f13802 commit fe49e94

8 files changed

+1734
-3454
lines changed

Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG AIRFLOW_VERSION=3.0.2
1+
ARG AIRFLOW_VERSION=3.0.3rc3
22
ARG PYTHON_VERSION=3.10
33
ARG PLATFORM=linux
44

@@ -37,9 +37,5 @@ ENV PATH="/app/.venv/bin:$PATH"
3737

3838
COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
3939
COPY --chown=airflow:root dags ${AIRFLOW_HOME}/dags
40-
# TODO: remove this and the patch files once upgrade to 3.0.3
41-
COPY --chown=airflow:root patch/utils.py /app/.venv/lib/python3.10/site-packages/airflow/migrations/utils.py
42-
COPY --chown=airflow:root patch/versions /app/.venv/lib/python3.10/site-packages/airflow/migrations/versions
43-
COPY --chown=airflow:root patch/serialized_objects.py /app/.venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py
4440

4541
ENTRYPOINT ["/entrypoint.sh"]

Dockerfile.test

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG AIRFLOW_VERSION=3.0.2
1+
ARG AIRFLOW_VERSION=3.0.3rc3
22
ARG PYTHON_VERSION=3.10
33
ARG PLATFORM=linux
44

@@ -37,10 +37,6 @@ ENV PATH="/app/.venv/bin:$PATH"
3737

3838
COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
3939
COPY --chown=airflow:root dags ${AIRFLOW_HOME}/dags
40-
# TODO: remove this and the patch files once upgrade to 3.0.3
41-
COPY --chown=airflow:root patch/utils.py /app/.venv/lib/python3.10/site-packages/airflow/migrations/utils.py
42-
COPY --chown=airflow:root patch/versions /app/.venv/lib/python3.10/site-packages/airflow/migrations/versions
43-
COPY --chown=airflow:root patch/serialized_objects.py /app/.venv/lib/python3.10/site-packages/airflow/serialization/serialized_objects.py
4440

4541
ENV AIRFLOW_TEST_MODE=True
4642

0 commit comments

Comments
 (0)