Skip to content

Commit 7536b46

Browse files
authored
feat: Add airflow 2.10.2 (#877)
* fix(airflow): Make the download_constraints.sh script stop on command failure and treat 404 as an error. * chore(airflow): Add version 2.10.2 with Python 3.12 * fix(airflow): Explicitly install python version, and call python with the version Also ignore lint warning about pinning pip packages. * chore(airflow): Update the changelog
1 parent 36dcb1d commit 7536b46

File tree

6 files changed

+744
-2
lines changed

6 files changed

+744
-2
lines changed

.hadolint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ ignored:
1010
# Reason: We use buildx which handles the build graph, no explicit image tags necessary
1111
- DL3006
1212

13+
# Warning: Pin versions in pip.
14+
# https://github.com/hadolint/hadolint/wiki/DL3006
15+
# Reason: So far we haven't pinned versions. If we decide to, we should do that as a separate piece of work.
16+
- DL3013
17+
1318
# Warning: Use the -y switch to avoid manual input dnf install -y <package>
1419
# https://github.com/hadolint/hadolint/wiki/DL3038
1520
# Reason: We set `assumeyes=True` in dnf.conf in our base image

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file.
1010
- opa: Add version `0.67.1` ([#797]).
1111
- vector: Add version `0.41.1` ([#802], [#815], [#867]).
1212
- airflow: Add version `2.9.3` ([#809]).
13+
- airflow: Add version `2.10.2` ([#877]).
1314
- kafka: Add version `3.8.0` ([#813]).
1415
- hive: Add version `4.0.0` ([#818]).
1516
- trino: Add version `455` ([#822]).
@@ -66,6 +67,7 @@ All notable changes to this project will be documented in this file.
6667
[#867]: https://github.com/stackabletech/docker-images/pull/867
6768
[#868]: https://github.com/stackabletech/docker-images/pull/868
6869
[#874]: https://github.com/stackabletech/docker-images/pull/874
70+
[#877]: https://github.com/stackabletech/docker-images/pull/877
6971

7072
## [24.7.0] - 2024-07-24
7173

airflow/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN microdnf update && \
3333
libpq-devel \
3434
openldap-devel \
3535
openssl-devel \
36+
python${PYTHON} \
3637
python${PYTHON}-devel \
3738
python${PYTHON}-pip \
3839
python${PYTHON}-wheel \
@@ -41,7 +42,7 @@ RUN microdnf update && \
4142
microdnf clean all && \
4243
rm -rf /var/cache/yum
4344

44-
RUN python3 -m venv --system-site-packages /stackable/app && \
45+
RUN python${PYTHON} -m venv --system-site-packages /stackable/app && \
4546
source /stackable/app/bin/activate && \
4647
pip install --no-cache-dir --upgrade pip && \
4748
pip install --no-cache-dir apache-airflow[${AIRFLOW_EXTRAS}]==${PRODUCT} --constraint /tmp/constraints.txt && \

0 commit comments

Comments
 (0)