This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 8ae9331b49 Remove breeze-python-version input and propagating it
everywhere (#38227)
8ae9331b49 is described below
commit 8ae9331b490a75ed9eb32fe91402209035129a5b
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Mar 17 16:06:55 2024 +0100
Remove breeze-python-version input and propagating it everywhere (#38227)
The `breeze-python-version` has been used in a number of places
where we wanted to make sure of reproducibility of prepared
artifacts (because Python 3.8 produces different tar files).
However that caused some problems with caching of breeze
environments - where some of them were using Python 3.8 and some
were using Python 3.9.
This PR fixes it by:
* making Python 3.9 default for all breeze installations in CI
* removing the breeze-python-version parameter and all its usages
from all workflows
The tests of breeze (ib basic-tests.yml) are still run with the
default-python-version not with Python 3.9 (which currently is
Python 3.8) - so the risk that breeze will not work on Python
3.8 is low.
This will also synchronize itself in October, when Python 3.8 will
reach end-of-life and we will move to Python 3.9 as the default
version.
---
.github/actions/breeze/action.yml | 7 +++++--
.github/actions/prepare_breeze_and_image/action.yml | 5 -----
.github/workflows/additional-prod-image-tests.yml | 7 -------
.github/workflows/basic-tests.yml | 9 +--------
.github/workflows/build-images.yml | 7 -------
.github/workflows/check-providers.yml | 11 -----------
.github/workflows/ci-image-build.yml | 7 -------
.github/workflows/ci.yml | 20 --------------------
.github/workflows/early-image-checks.yml | 12 +++---------
.github/workflows/finalize-tests.yml | 6 ------
.github/workflows/helm-tests.yml | 9 ---------
.github/workflows/k8s-tests.yml | 7 -------
.github/workflows/mypy.yml | 7 -------
.github/workflows/prod-image-build.yml | 7 -------
.github/workflows/prod-image-extra-checks.yml | 8 --------
.github/workflows/push-image-cache.yml | 7 -------
.github/workflows/run-unit-tests.yml | 7 -------
.github/workflows/special-tests.yml | 13 -------------
18 files changed, 9 insertions(+), 147 deletions(-)
diff --git a/.github/actions/breeze/action.yml
b/.github/actions/breeze/action.yml
index ef8a00fc31..427864e403 100644
--- a/.github/actions/breeze/action.yml
+++ b/.github/actions/breeze/action.yml
@@ -21,7 +21,10 @@ description: 'Sets up Python and Breeze'
inputs:
python-version:
description: 'Python version to use'
- default: "3.8"
+ # Version of Python used for reproducibility of the packages built
+ # Python 3.8 tarfile produces different tarballs than Python 3.9+ tarfile
that's why we are forcing
+ # Python 3.9 for all release preparation commands to make sure that the
tarballs are reproducible
+ default: "3.9"
outputs:
host-python-version:
description: Python version used in host
@@ -34,7 +37,7 @@ runs:
with:
python-version: ${{ inputs.python-version }}
cache: 'pip'
- cache-dependency-path: ./dev/breeze/setup*
+ cache-dependency-path: ./dev/breeze/pyproject.toml
- name: Cache breeze
uses: actions/cache@v4
with:
diff --git a/.github/actions/prepare_breeze_and_image/action.yml
b/.github/actions/prepare_breeze_and_image/action.yml
index 4288f60ec9..41aa17092d 100644
--- a/.github/actions/prepare_breeze_and_image/action.yml
+++ b/.github/actions/prepare_breeze_and_image/action.yml
@@ -19,9 +19,6 @@
name: 'Prepare breeze && current python image'
description: 'Installs breeze and pulls current python image'
inputs:
- python-version:
- description: 'Python version to use'
- default: "3.8"
pull-image-type:
description: 'Which image to pull'
default: CI
@@ -35,8 +32,6 @@ runs:
- name: "Install Breeze"
uses: ./.github/actions/breeze
id: breeze
- with:
- python-version: ${{ inputs.python-version }}
- name: Login to ghcr.io
shell: bash
run: echo "${{ env.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{
github.actor }} --password-stdin
diff --git a/.github/workflows/additional-prod-image-tests.yml
b/.github/workflows/additional-prod-image-tests.yml
index b47acd25b4..8eb8699e6c 100644
--- a/.github/workflows/additional-prod-image-tests.yml
+++ b/.github/workflows/additional-prod-image-tests.yml
@@ -57,11 +57,6 @@ on: # yamllint disable-line rule:truthy
description: Which version of python should be used get CI image
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
jobs:
prod-image-extra-checks-main:
name: PROD image extra checks (main)
@@ -72,7 +67,6 @@ jobs:
image-tag: ${{ inputs.image-tag }}
build-provider-packages: ${{ inputs.default-branch == 'main' }}
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies
}}
- breeze-python-version: ${{ inputs.breeze-python-version }}
chicken-egg-providers: ${{ inputs.chicken-egg-providers }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
@@ -87,7 +81,6 @@ jobs:
image-tag: ${{ inputs.image-tag }}
build-provider-packages: ${{ inputs.default-branch == 'main' }}
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies
}}
- breeze-python-version: ${{ inputs.breeze-python-version }}
chicken-egg-providers: ${{ inputs.chicken-egg-providers }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
diff --git a/.github/workflows/basic-tests.yml
b/.github/workflows/basic-tests.yml
index 54e668ce9e..faf0d3963d 100644
--- a/.github/workflows/basic-tests.yml
+++ b/.github/workflows/basic-tests.yml
@@ -40,11 +40,6 @@ on: # yamllint disable-line rule:truthy
description: Which version of python should be used get CI image
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
canary-run:
description: "Whether to run canary tests (true/false)"
required: true
@@ -73,7 +68,7 @@ jobs:
with:
python-version: "${{ inputs.default-python-version }}"
cache: 'pip'
- cache-dependency-path: ./dev/breeze/setup*
+ cache-dependency-path: ./dev/breeze/pyproject.toml
- run: pip install --editable ./dev/breeze/
- run: python -m pytest -n auto --color=yes
working-directory: ./dev/breeze/
@@ -132,8 +127,6 @@ jobs:
path: ./airflow-client-python
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: "Generate client with breeze"
run: >
breeze release-management prepare-python-client --package-format both
diff --git a/.github/workflows/build-images.yml
b/.github/workflows/build-images.yml
index 1ee19fb76a..5070c1fa52 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -55,11 +55,6 @@ jobs:
env:
TARGET_BRANCH: ${{ github.event.pull_request.base.ref }}
outputs:
- # Version of Python used for reproducibility of the packages built
- # Python 3.8 tarfile produces different tarballs than Python 3.9+
tarfile that's why we are forcing
- # Python 3.9 for all release preparation commands to make sure that the
tarballs are reproducible
- # TODO: remove me when we switch to Python 3.9 as minimal version
- breeze-python-version: "3.9"
image-tag: ${{ github.event.pull_request.head.sha || github.sha }}
python-versions: ${{ steps.selective-checks.outputs.python-versions }}
upgrade-to-newer-dependencies: ${{
steps.selective-checks.outputs.upgrade-to-newer-dependencies }}
@@ -317,8 +312,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ needs.build-info.outputs.breeze-python-version }}
- name: Build PROD Image ${{ matrix.python-version }}:${{env.IMAGE_TAG}}
uses: ./.github/actions/build-prod-images
with:
diff --git a/.github/workflows/check-providers.yml
b/.github/workflows/check-providers.yml
index ce00dd9705..04f140b536 100644
--- a/.github/workflows/check-providers.yml
+++ b/.github/workflows/check-providers.yml
@@ -55,11 +55,6 @@ on: # yamllint disable-line rule:truthy
description: "JSON-formatted array of Python versions to build images
from"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
jobs:
prepare-install-verify-provider-packages-wheel:
timeout-minutes: 80
@@ -83,8 +78,6 @@ jobs:
- name: >
Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{
inputs.image-tag }}
uses: ./.github/actions/prepare_breeze_and_image
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: "Cleanup dist files"
run: rm -fv ./dist/*
- name: "Prepare provider documentation"
@@ -151,8 +144,6 @@ jobs:
- name: >
Prepare breeze & CI image: ${{ inputs.default-python-version }}:${{
inputs.image-tag }}
uses: ./.github/actions/prepare_breeze_and_image
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: "Cleanup dist files"
run: rm -fv ./dist/*
- name: "Prepare provider packages: sdist"
@@ -223,8 +214,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Prepare breeze & CI image: ${{ matrix.python-version }}:${{
inputs.image-tag }}"
uses: ./.github/actions/prepare_breeze_and_image
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: "Cleanup dist files"
run: rm -fv ./dist/*
- name: "Prepare provider packages: wheel"
diff --git a/.github/workflows/ci-image-build.yml
b/.github/workflows/ci-image-build.yml
index 36d9653b5d..e8b54a083c 100644
--- a/.github/workflows/ci-image-build.yml
+++ b/.github/workflows/ci-image-build.yml
@@ -74,11 +74,6 @@ on: # yamllint disable-line rule:truthy
description: "Whether to attempt to upgrade image to newer
dependencies (false/RANDOM_VALUE)"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
constraints-branch:
description: "Branch used to construct constraints URL from."
required: true
@@ -122,8 +117,6 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
if: inputs.do-build == 'true'
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
if: inputs.do-build == 'true'
- name: "Regenerate dependencies in case they was modified manually so
that we can build an image"
shell: bash
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d9eac58da6..0969b5f6a1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -67,11 +67,6 @@ jobs:
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
outputs:
- # Version of Python used for reproducibility of the packages built
- # Python 3.8 tarfile produces different tarballs than Python 3.9+
tarfile that's why we are forcing
- # Python 3.9 for all release preparation commands to make sure that the
tarballs are reproducible
- # TODO: remove me when we switch to Python 3.9 as minimal version
- breeze-python-version: "3.9"
image-tag: ${{ github.event.pull_request.head.sha || github.sha }}
cache-directive: ${{ steps.selective-checks.outputs.cache-directive }}
affected-providers-list-as-string: >-
@@ -179,7 +174,6 @@ jobs:
run-www-tests: ${{needs.build-info.outputs.run-www-tests}}
needs-api-codegen: ${{needs.build-info.outputs.needs-api-codegen}}
default-python-version:
${{needs.build-info.outputs.default-python-version}}
- breeze-python-version:
${{needs.build-info.outputs.breeze-python-version}}
basic-checks-only: ${{needs.build-info.outputs.basic-checks-only}}
skip-pre-commits: ${{needs.build-info.outputs.skip-pre-commits}}
canary-run: ${{needs.build-info.outputs.canary-run}}
@@ -207,7 +201,6 @@ jobs:
branch: ${{ needs.build-info.outputs.default-branch }}
use-uv: "true"
upgrade-to-newer-dependencies: ${{
needs.build-info.outputs.upgrade-to-newer-dependencies }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
constraints-branch: ${{
needs.build-info.outputs.default-constraints-branch }}
docker-cache: ${{ needs.build-info.outputs.cache-directive }}
@@ -261,7 +254,6 @@ jobs:
branch: ${{ needs.build-info.outputs.default-branch }}
constraints-branch: ${{
needs.build-info.outputs.default-constraints-branch }}
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
chicken-egg-providers: ${{
needs.build-info.outputs.chicken-egg-providers }}
ci-image-build: ${{ needs.build-info.outputs.ci-image-build }}
docker-cache: ${{ needs.build-info.outputs.cache-directive }}
@@ -324,7 +316,6 @@ jobs:
runs-on: ${{ needs.build-info.outputs.runs-on }}
mypy-folders: ${{ needs.build-info.outputs.mypy-folders }}
image-tag: ${{ needs.build-info.outputs.image-tag }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
needs-mypy: ${{ needs.build-info.outputs.needs-mypy }}
if: needs.build-info.outputs.latest-versions-only != 'true'
@@ -363,7 +354,6 @@ jobs:
with:
runs-on: ${{ needs.build-info.outputs.runs-on }}
image-tag: ${{ needs.build-info.outputs.image-tag }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
upgrade-to-newer-dependencies: ${{
needs.build-info.outputs.upgrade-to-newer-dependencies }}
affected-providers-list-as-string: ${{
needs.build-info.outputs.affected-providers-list-as-string }}
@@ -420,7 +410,6 @@ jobs:
runs-on: ${{ needs.build-info.outputs.runs-on }}
helm-test-packages: ${{ needs.build-info.outputs.helm-test-packages }}
image-tag: ${{ needs.build-info.outputs.image-tag }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
if: >
needs.build-info.outputs.needs-helm-tests == 'true' &&
@@ -449,7 +438,6 @@ jobs:
run-migration-tests: "true"
run-coverage: ${{ needs.build-info.outputs.run-coverage }}
debug-resources: ${{ needs.build-info.outputs.debug-resources }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
if: needs.build-info.outputs.run-tests == 'true'
tests-mysql:
@@ -474,7 +462,6 @@ jobs:
run-coverage: ${{ needs.build-info.outputs.run-coverage }}
run-migration-tests: "true"
debug-resources: ${{ needs.build-info.outputs.debug-resources }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
if: needs.build-info.outputs.run-tests == 'true'
tests-sqlite:
@@ -501,7 +488,6 @@ jobs:
run-coverage: ${{ needs.build-info.outputs.run-coverage }}
run-migration-tests: "true"
debug-resources: ${{ needs.build-info.outputs.debug-resources }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
if: needs.build-info.outputs.run-tests == 'true'
tests-non-db:
@@ -527,7 +513,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ needs.build-info.outputs.run-coverage }}
debug-resources: ${{ needs.build-info.outputs.debug-resources }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
if: needs.build-info.outputs.run-tests == 'true'
tests-special:
@@ -546,7 +531,6 @@ jobs:
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
default-postgres-version: ${{
needs.build-info.outputs.default-postgres-version }}
debug-resources: ${{ needs.build-info.outputs.debug-resources }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
if: needs.build-info.outputs.run-tests == 'true'
tests-integration:
@@ -594,7 +578,6 @@ jobs:
use-uv: "true"
build-provider-packages: ${{ needs.build-info.outputs.default-branch ==
'main' }}
upgrade-to-newer-dependencies: ${{
needs.build-info.outputs.upgrade-to-newer-dependencies }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
chicken-egg-providers: ${{
needs.build-info.outputs.chicken-egg-providers }}
constraints-branch: ${{
needs.build-info.outputs.default-constraints-branch }}
docker-cache: ${{ needs.build-info.outputs.cache-directive }}
@@ -654,7 +637,6 @@ jobs:
upgrade-to-newer-dependencies: ${{
needs.build-info.outputs.upgrade-to-newer-dependencies }}
chicken-egg-providers: ${{
needs.build-info.outputs.chicken-egg-providers }}
docker-cache: ${{ needs.build-info.outputs.cache-directive }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
canary-run: ${{ needs.build-info.outputs.canary-run }}
if: needs.build-info.outputs.prod-image-build == 'true'
@@ -673,7 +655,6 @@ jobs:
python-versions-list-as-string: ${{
needs.build-info.outputs.python-versions-list-as-string }}
kubernetes-versions-list-as-string: ${{
needs.build-info.outputs.kubernetes-versions-list-as-string }}
kubernetes-combos-list-as-string: ${{
needs.build-info.outputs.kubernetes-combos-list-as-string }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
debug-resources: ${{ needs.build-info.outputs.debug-resources }}
if: >
@@ -709,7 +690,6 @@ jobs:
branch: ${{ needs.build-info.outputs.default-branch }}
constraints-branch: ${{
needs.build-info.outputs.default-constraints-branch }}
default-python-version: ${{
needs.build-info.outputs.default-python-version }}
- breeze-python-version: ${{
needs.build-info.outputs.breeze-python-version }}
in-workflow-build: ${{ needs.build-info.outputs.in-workflow-build }}
upgrade-to-newer-dependencies: ${{
needs.build-info.outputs.upgrade-to-newer-dependencies }}
docker-cache: ${{ needs.build-info.outputs.cache-directive }}
diff --git a/.github/workflows/early-image-checks.yml
b/.github/workflows/early-image-checks.yml
index 3662a4c867..7e62003719 100644
--- a/.github/workflows/early-image-checks.yml
+++ b/.github/workflows/early-image-checks.yml
@@ -49,11 +49,6 @@ on: # yamllint disable-line rule:truthy
description: Which version of python should be used get CI image
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
chicken-egg-providers:
description: "List of providers that should be prepared from sources"
required: false
@@ -101,7 +96,6 @@ jobs:
python-versions: ${{ inputs.python-versions }}
branch: ${{ inputs.branch }}
use-uv: "true"
- breeze-python-version: ${{ inputs.breeze-python-version }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
if: inputs.canary-run == 'true' && inputs.branch == 'main'
@@ -117,6 +111,7 @@ jobs:
PYTHON_MAJOR_MINOR_VERSION: ${{ inputs.default-python-version }}
PYTHON_VERSION: ${{ inputs.default-python-version }}
IMAGE_TAG: ${{ inputs.image-tag }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: inputs.canary-run == 'true' && inputs.branch == 'main'
steps:
- name: "Cleanup repo"
@@ -130,6 +125,8 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Install Breeze"
uses: ./.github/actions/breeze
+ - name: "Login to ghcr.io"
+ run: echo "${{ env.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{
github.actor }} --password-stdin
- name: "Check that image builds quickly"
run: breeze shell --max-time 120
@@ -158,8 +155,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: Login to ghcr.io
run: echo "${{ env.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{
github.actor }} --password-stdin
- name: Pull CI images ${{ inputs.python-versions-list-as-string }}:${{
inputs.image-tag }}
@@ -229,7 +224,6 @@ jobs:
branch: ${{ inputs.branch }}
use-uv: "true"
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies
}}
- breeze-python-version: ${{ inputs.breeze-python-version }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
if: inputs.canary-run == 'true'
diff --git a/.github/workflows/finalize-tests.yml
b/.github/workflows/finalize-tests.yml
index 0f5ed906d3..c7ec9d0789 100644
--- a/.github/workflows/finalize-tests.yml
+++ b/.github/workflows/finalize-tests.yml
@@ -49,11 +49,6 @@ on: # yamllint disable-line rule:truthy
description: Which version of python should be used get CI image
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
in-workflow-build:
description: "Whether the build is executed as part of the workflow
(true/false)"
required: true
@@ -142,7 +137,6 @@ jobs:
image-tag: ${{ inputs.image-tag }}
python-versions: ${{ inputs.python-versions }}
branch: ${{ inputs.branch }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
if: inputs.canary-run == 'true'
diff --git a/.github/workflows/helm-tests.yml b/.github/workflows/helm-tests.yml
index 2d10e1eb14..eddc233ff6 100644
--- a/.github/workflows/helm-tests.yml
+++ b/.github/workflows/helm-tests.yml
@@ -37,11 +37,6 @@ on: # yamllint disable-line rule:truthy
description: Which version of python should be used get CI image
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
jobs:
tests-helm:
timeout-minutes: 80
@@ -74,8 +69,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Prepare breeze & CI image:
${{inputs.default-python-version}}:${{inputs.image-tag}}"
uses: ./.github/actions/prepare_breeze_and_image
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: "Helm Unit Tests: ${{ matrix.helm-test-package }}"
run: breeze testing helm-tests --helm-test-package "${{
matrix.helm-test-package }}"
@@ -98,8 +91,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: Setup git for tagging
run: |
git config --global user.email "[email protected]"
diff --git a/.github/workflows/k8s-tests.yml b/.github/workflows/k8s-tests.yml
index 332ebaa30a..de9f5424da 100644
--- a/.github/workflows/k8s-tests.yml
+++ b/.github/workflows/k8s-tests.yml
@@ -41,11 +41,6 @@ on: # yamllint disable-line rule:truthy
description: "List of combinations of Kubernetes and Python versions
to test: space separated string"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
include-success-outputs:
description: "Whether to include success outputs"
required: true
@@ -85,8 +80,6 @@ jobs:
- name: "Install Breeze"
uses: ./.github/actions/breeze
id: breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: Login to ghcr.io
run: echo "${{ env.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{
github.actor }} --password-stdin
- name: Pull PROD images ${{ inputs.python-versions-list-as-string
}}:${{ inputs.image-tag }}
diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
index 7fdaec187b..9c64b68af2 100644
--- a/.github/workflows/mypy.yml
+++ b/.github/workflows/mypy.yml
@@ -41,11 +41,6 @@ on: # yamllint disable-line rule:truthy
description: Which version of python should be used get CI image
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
jobs:
mypy:
timeout-minutes: 45
@@ -76,8 +71,6 @@ jobs:
- name: "Prepare breeze & CI image: ${{ inputs.default-python-version
}}:${{ inputs.image-tag }}"
uses: ./.github/actions/prepare_breeze_and_image
id: breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
if: inputs.needs-mypy == 'true'
- name: "MyPy checks for ${{ matrix.mypy-folder }}"
run: |
diff --git a/.github/workflows/prod-image-build.yml
b/.github/workflows/prod-image-build.yml
index 501b5b1b5b..2d59ca45b7 100644
--- a/.github/workflows/prod-image-build.yml
+++ b/.github/workflows/prod-image-build.yml
@@ -69,11 +69,6 @@ on: # yamllint disable-line rule:truthy
description: "Whether to attempt to upgrade image to newer
dependencies (false/RANDOM_VALUE)"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
chicken-egg-providers:
description: "Space-separated list of providers that should be
installed from context files"
required: true
@@ -121,8 +116,6 @@ ${{ inputs.do-build == 'true' && inputs.image-tag || '' }}"
if: inputs.do-build == 'true'
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
if: inputs.do-build == 'true'
- name: "Regenerate dependencies in case they was modified manually so
that we can build an image"
shell: bash
diff --git a/.github/workflows/prod-image-extra-checks.yml
b/.github/workflows/prod-image-extra-checks.yml
index 7bb37dd08d..69dee4e4a9 100644
--- a/.github/workflows/prod-image-extra-checks.yml
+++ b/.github/workflows/prod-image-extra-checks.yml
@@ -39,11 +39,6 @@ on: # yamllint disable-line rule:truthy
description: "Whether to attempt to upgrade image to newer
dependencies (false/RANDOM_VALUE)"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
chicken-egg-providers:
description: "Space-separated list of providers that should be
installed from context files"
required: true
@@ -70,7 +65,6 @@ jobs:
use-uv: "true"
build-provider-packages: ${{ inputs.build-provider-packages }}
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies
}}
- breeze-python-version: ${{ inputs.breeze-python-version }}
chicken-egg-providers: ${{ inputs.chicken-egg-providers }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
@@ -88,7 +82,6 @@ jobs:
use-uv: "true"
build-provider-packages: ${{ inputs.build-provider-packages }}
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies
}}
- breeze-python-version: ${{ inputs.breeze-python-version }}
chicken-egg-providers: ${{ inputs.chicken-egg-providers }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
@@ -106,7 +99,6 @@ jobs:
use-uv: "false"
build-provider-packages: ${{ inputs.build-provider-packages }}
upgrade-to-newer-dependencies: ${{ inputs.upgrade-to-newer-dependencies
}}
- breeze-python-version: ${{ inputs.breeze-python-version }}
chicken-egg-providers: ${{ inputs.chicken-egg-providers }}
constraints-branch: ${{ inputs.constraints-branch }}
docker-cache: ${{ inputs.docker-cache }}
diff --git a/.github/workflows/push-image-cache.yml
b/.github/workflows/push-image-cache.yml
index a3abebb85a..ffcc399889 100644
--- a/.github/workflows/push-image-cache.yml
+++ b/.github/workflows/push-image-cache.yml
@@ -56,11 +56,6 @@ on: # yamllint disable-line rule:truthy
description: "Branch used to run the CI jobs in (main/v2_*_test)."
required: true
type: string
- breeze-python-version:
- description: <
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
constraints-branch:
description: "Branch used to construct constraints URL from."
required: true
@@ -103,8 +98,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Install Breeze"
uses: ./.github/actions/breeze
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: "Cleanup dist and context file"
run: rm -fv ./dist/* ./docker-context-files/*
if: inputs.include-prod-images == 'true'
diff --git a/.github/workflows/run-unit-tests.yml
b/.github/workflows/run-unit-tests.yml
index a5010bcd66..4f72ff3c01 100644
--- a/.github/workflows/run-unit-tests.yml
+++ b/.github/workflows/run-unit-tests.yml
@@ -75,11 +75,6 @@ on: # yamllint disable-line rule:truthy
description: "Whether to debug resources or not (true/false)"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
include-success-outputs:
description: "Whether to include success outputs or not (true/false)"
required: false
@@ -156,8 +151,6 @@ jobs:
uses: ./.github/actions/cleanup-docker
- name: "Prepare breeze & CI image: ${{matrix.python-version}}:${{
inputs.image-tag }}"
uses: ./.github/actions/prepare_breeze_and_image
- with:
- python-version: ${{ inputs.breeze-python-version }}
- name: >
Migration Tests:
${{ matrix.python-version }}:${{
inputs.parallel-test-types-list-as-string }}
diff --git a/.github/workflows/special-tests.yml
b/.github/workflows/special-tests.yml
index 1bfbdd6c39..75f34ed357 100644
--- a/.github/workflows/special-tests.yml
+++ b/.github/workflows/special-tests.yml
@@ -49,11 +49,6 @@ on: # yamllint disable-line rule:truthy
description: "Whether to debug resources or not (true/false)"
required: true
type: string
- breeze-python-version:
- description: >
- Which version of python should be used to install Breeze (3.9 is
minimum for reproducible builds)
- required: true
- type: string
jobs:
tests-min-sqlalchemy:
name: "Min SQLAlchemy test"
@@ -76,7 +71,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-boto:
name: "Latest Boto test"
@@ -99,7 +93,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-pydantic-v1:
name: "Pydantic v1 test"
@@ -122,7 +115,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-pydantic-none:
name: "Pydantic removed test"
@@ -145,7 +137,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-pendulum-2:
name: "Pendulum2 test"
@@ -168,7 +159,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-in-progress-disabled:
name: "In progress disabled test"
@@ -191,7 +181,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-quarantined:
name: "Quarantined test"
@@ -213,7 +202,6 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}
tests-arm-collection:
name: "ARM Collection test"
@@ -235,4 +223,3 @@ jobs:
include-success-outputs: ${{
needs.build-info.outputs.include-success-outputs }}
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- breeze-python-version: ${{ inputs.breeze-python-version }}