From 3983fff084e4ab9d9d54648be35c40bd96019bb8 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Wed, 5 Aug 2020 13:29:07 +0300 Subject: [PATCH] ci: bump tests to 3.7 and add support for 3.8 (#10110) --- .github/workflows/superset-e2e.yml | 2 +- .github/workflows/superset-python.yml | 10 +++++----- docs/installation.rst | 3 ++- setup.py | 1 + 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/superset-e2e.yml b/.github/workflows/superset-e2e.yml index 62156892c..57cb42cb3 100644 --- a/.github/workflows/superset-e2e.yml +++ b/.github/workflows/superset-e2e.yml @@ -36,7 +36,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2.1.1 with: - python-version: '3.6' + python-version: '3.7' - name: Install dependencies uses: apache-superset/cached-dependencies@b90713b with: diff --git a/.github/workflows/superset-python.yml b/.github/workflows/superset-python.yml index 4b0c1a4af..9e4e5f8aa 100644 --- a/.github/workflows/superset-python.yml +++ b/.github/workflows/superset-python.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6] + python-version: [3.7] steps: - name: Checkout code uses: actions/checkout@v2 @@ -52,7 +52,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6] + python-version: [3.7] steps: - name: Checkout code uses: actions/checkout@v2 @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6] + python-version: [3.7] steps: - name: Checkout code uses: actions/checkout@v2 @@ -145,7 +145,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6] + python-version: [3.7] env: PYTHONPATH: ${{ github.workspace }} SUPERSET_CONFIG: tests.superset_test_config @@ -191,7 +191,7 @@ jobs: runs-on: ubuntu-18.04 strategy: matrix: - python-version: [3.6] + python-version: [3.7] env: PYTHONPATH: ${{ github.workspace }} SUPERSET_CONFIG: tests.superset_test_config diff --git a/docs/installation.rst b/docs/installation.rst index 4c2d74a8b..5c8214240 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -24,7 +24,8 @@ Getting Started Superset has deprecated support for Python ``2.*`` and supports only ``~=3.6`` to take advantage of the newer Python features and reduce the burden of supporting previous versions. We run our test suite -against ``3.6``, but ``3.7`` is fully supported as well. +against ``3.7``, with a subset of tests additionally being run against +``3.6`` and ``3.8``. Cloud-native! ------------- diff --git a/setup.py b/setup.py index 339d34fcd..35ccf6c39 100644 --- a/setup.py +++ b/setup.py @@ -146,5 +146,6 @@ setup( classifiers=[ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ], )