You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/05/10 01:58:22 UTC

(superset) branch previous_python created (now 459b65c939)

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a change to branch previous_python
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 459b65c939 fix: run some CI tests against previous python version

This branch includes the following new commits:

     new 459b65c939 fix: run some CI tests against previous python version

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: fix: run some CI tests against previous python version

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch previous_python
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 459b65c9399ebb337d6a61fac099239ce92c5e0a
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Thu May 9 18:56:17 2024 -0700

    fix: run some CI tests against previous python version
    
    As currently python3.10 is our main version, we do run a bit of CI (not
    the full matrix) against 3.11.
    
    This is introducing doing the same for 3.9 as we do for 3.11. Check
    isn't required, but should show as failed and inform something broke 3.9
    support
---
 .github/actions/setup-backend/action.yml              | 2 ++
 .github/workflows/superset-python-integrationtest.yml | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/actions/setup-backend/action.yml b/.github/actions/setup-backend/action.yml
index 4f97916dbe..565b02900f 100644
--- a/.github/actions/setup-backend/action.yml
+++ b/.github/actions/setup-backend/action.yml
@@ -29,6 +29,8 @@ runs:
           echo "PYTHON_VERSION=3.10" >> $GITHUB_ENV
         elif [ "${{ inputs.python-version }}" = "next" ]; then
           echo "PYTHON_VERSION=3.11" >> $GITHUB_ENV
+        elif [ "${{ inputs.python-version }}" = "previous" ]; then
+          echo "PYTHON_VERSION=3.9" >> $GITHUB_ENV
         else
           echo "PYTHON_VERSION=${{ inputs.python-version }}" >> $GITHUB_ENV
         fi
diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml
index fef8c86d4b..fec35ef9db 100644
--- a/.github/workflows/superset-python-integrationtest.yml
+++ b/.github/workflows/superset-python-integrationtest.yml
@@ -75,7 +75,7 @@ jobs:
     runs-on: ubuntu-20.04
     strategy:
       matrix:
-        python-version: ["current", "next"]
+        python-version: ["current", "next", "previous"]
     env:
       PYTHONPATH: ${{ github.workspace }}
       SUPERSET_CONFIG: tests.integration_tests.superset_test_config