From 968699dab672785a2e8971945f3c01c7cc4545f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20Gonz=C3=A1lez-Santander=20de=20la=20Cruz?= Date: Tue, 10 Dec 2024 16:53:24 +0100 Subject: [PATCH] Updated version on dockerfile (#586) * Updated version on dockerfile * Update GitHub Actions workflow to support Python 3.12 and upgrade action versions * Update Airflow version in GitHub Actions workflow from 2.7.1 to 2.9.1 --- .github/workflows/test_cornflow_server.yml | 8 ++++---- cornflow-server/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test_cornflow_server.yml b/.github/workflows/test_cornflow_server.yml index a8976bc3..37f6e2fd 100644 --- a/.github/workflows/test_cornflow_server.yml +++ b/.github/workflows/test_cornflow_server.yml @@ -29,7 +29,7 @@ jobs: strategy: max-parallel: 21 matrix: - python-version: [3.8, 3.9, '3.10', '3.11'] + python-version: [3.8, 3.9, '3.10', '3.11', '3.12'] os: [ubuntu-latest] services: @@ -48,9 +48,9 @@ jobs: - 5432:5432 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Copy DAG files @@ -73,7 +73,7 @@ jobs: run: | python -m venv afvenv source afvenv/bin/activate - AIRFLOW_VERSION=2.7.1 + AIRFLOW_VERSION=2.9.1 PYTHON_VERSION="$(python3 --version | cut -d " " -f 2 | cut -d "." -f 1-2)" CLIENT_BRANCH="${{ github.head_ref || github.ref_name }}" CONSTRAINT_URL="https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt" diff --git a/cornflow-server/Dockerfile b/cornflow-server/Dockerfile index 77573509..a8eb9459 100644 --- a/cornflow-server/Dockerfile +++ b/cornflow-server/Dockerfile @@ -9,7 +9,7 @@ ENV DEBIAN_FRONTEND noninteractive ENV TERM linux # CORNFLOW vars -ARG CORNFLOW_VERSION=1.1.2 +ARG CORNFLOW_VERSION=1.1.4 # install linux pkg RUN apt update -y && apt-get install -y --no-install-recommends \