diff --git a/.github/actions/setup-backend/action.yml b/.github/actions/setup-backend/action.yml index 74f8842330a..c1134f7c74a 100644 --- a/.github/actions/setup-backend/action.yml +++ b/.github/actions/setup-backend/action.yml @@ -32,8 +32,6 @@ runs: elif [ "$INPUT_PYTHON_VERSION" = "next" ]; then # currently disabled in GHA matrixes because of library compatibility issues RESOLVED_VERSION="3.12" - elif [ "$INPUT_PYTHON_VERSION" = "previous" ]; then - RESOLVED_VERSION="3.10" elif printf '%s' "$INPUT_PYTHON_VERSION" | grep -Eq '^[0-9]+\.[0-9]+(\.[0-9]+)?$'; then RESOLVED_VERSION="$INPUT_PYTHON_VERSION" else diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9901a92fd13..11ad48f4b3e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -30,7 +30,7 @@ jobs: # Run the full version spread on push (master/release) and nightly, # but only the current version on PRs — lint/format/type results # rarely differ across patch versions, so 3x per PR is wasteful. - python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "previous", "next"]') }} + python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "next"]') }} steps: - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )" uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 diff --git a/.github/workflows/superset-extensions-cli.yml b/.github/workflows/superset-extensions-cli.yml index 476b43e3fa9..91ace6eed3b 100644 --- a/.github/workflows/superset-extensions-cli.yml +++ b/.github/workflows/superset-extensions-cli.yml @@ -25,7 +25,7 @@ jobs: matrix: # Full version spread on push (master/release) + nightly; current only # on PRs to cut runner cost (cross-version breaks are caught at merge). - python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["previous", "current", "next"]') }} + python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "next"]') }} defaults: run: working-directory: superset-extensions-cli diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml index 46f5a961da8..8fb465eb314 100644 --- a/.github/workflows/superset-python-integrationtest.yml +++ b/.github/workflows/superset-python-integrationtest.yml @@ -135,7 +135,7 @@ jobs: matrix: # Full version spread on push (master/release) + nightly; current only # on PRs to cut runner cost (cross-version breaks are caught at merge). - python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "previous", "next"]') }} + python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "next"]') }} env: PYTHONPATH: ${{ github.workspace }} SUPERSET_CONFIG: tests.integration_tests.superset_test_config diff --git a/.github/workflows/superset-python-unittest.yml b/.github/workflows/superset-python-unittest.yml index b502bfca2af..056d959802f 100644 --- a/.github/workflows/superset-python-unittest.yml +++ b/.github/workflows/superset-python-unittest.yml @@ -50,7 +50,7 @@ jobs: matrix: # Full version spread on push (master/release) + nightly; current only # on PRs to cut runner cost (cross-version breaks are caught at merge). - python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["previous", "current", "next"]') }} + python-version: ${{ github.event_name == 'pull_request' && fromJSON('["current"]') || fromJSON('["current", "next"]') }} env: PYTHONPATH: ${{ github.workspace }} # Promotes the SQLAlchemy 2.0 deprecation warnings already locked in as