From d7456705b1572fdeed0db23ba606392181036819 Mon Sep 17 00:00:00 2001 From: vatsrahul1001 <43964496+vatsrahul1001@users.noreply.github.com> Date: Mon, 6 Nov 2023 16:38:44 +0530 Subject: [PATCH] Pinning connexion==2.14.2 due to issue with latest release version3.0.0 (#1354) Pinning connexion==2.14.2 due to issue with latest release version3.0.0 more context:https://astronomer.slack.com/archives/C01UJJEN0P3/p1699003495317799 --- .circleci/integration-tests/Dockerfile.astro_cloud | 5 +++-- .pre-commit-config.yaml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/integration-tests/Dockerfile.astro_cloud b/.circleci/integration-tests/Dockerfile.astro_cloud index 82a45fedc..04d8946c0 100644 --- a/.circleci/integration-tests/Dockerfile.astro_cloud +++ b/.circleci/integration-tests/Dockerfile.astro_cloud @@ -76,7 +76,7 @@ COPY astronomer-providers /tmp/astronomer-providers RUN python3 -m pip install --upgrade pip # Ideally we should install using constraints file RUN pip install --upgrade --force-reinstall --no-cache-dir /tmp/astronomer-providers[all] -RUN pip install apache-airflow[slack] +RUN pip install apache-airflow-providers-slack # Install astronomer-starship-provider needed for the astronomer_migration_dag to transfer Airflow metadata between deployments RUN pip install astronomer-starship-provider @@ -87,5 +87,6 @@ RUN cp -r example_* ${AIRFLOW_HOME}/dags RUN cp master_dag.py ${AIRFLOW_HOME}/dags/ RUN cp astronomer_migration_dag.py ${AIRFLOW_HOME}/dags/ RUN cp nuke-config.yml ${AIRFLOW_HOME}/dags/ - +# we have an issue with connexion==3.0.0, so for now pinning previous stable version +RUN pip install connexion==2.14.2 USER astro diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 724595f85..f57216dcb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -67,7 +67,7 @@ repos: name: Run codespell to check for common misspellings in files language: python types: [text] - args: ["--write-changes", "--ignore-words-list", "asend"] + args: ["--write-changes", "--ignore-words-list", "asend, connexion"] - repo: https://github.com/adrienverge/yamllint rev: v1.32.0