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/03/13 01:05:01 UTC
(superset) branch kill-pip-compile-multi updated: drying actions
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a commit to branch kill-pip-compile-multi
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/kill-pip-compile-multi by this push:
new d794faa45e drying actions
d794faa45e is described below
commit d794faa45e564e18a56682ce22d4d832c167627c
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Tue Mar 12 18:04:43 2024 -0700
drying actions
---
.../workflows/superset-python-integrationtest.yml | 22 ++++------------------
superset/__init__.py | 1 +
2 files changed, 5 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/superset-python-integrationtest.yml b/.github/workflows/superset-python-integrationtest.yml
index da9136713d..f279701ad9 100644
--- a/.github/workflows/superset-python-integrationtest.yml
+++ b/.github/workflows/superset-python-integrationtest.yml
@@ -105,16 +105,9 @@ jobs:
- name: Setup Python
uses: ./.github/actions/setup-python.yml
if: steps.check.outcome == 'failure'
- - name: Install dependencies
+ - name: Setup Python
+ uses: ./.github/actions/setup-python.yml
if: steps.check.outcome == 'failure'
- uses: ./.github/actions/cached-dependencies
- with:
- run: |
- apt-get-install
- pip-upgrade
- pip install wheel
- pip install -r requirements/development.txt
- setup-postgres
- name: Run celery
if: steps.check.outcome == 'failure'
run: celery --app=superset.tasks.celery_app:app worker -Ofair -c 2 &
@@ -161,16 +154,9 @@ jobs:
- name: Setup Python
uses: ./.github/actions/setup-python.yml
if: steps.check.outcome == 'failure'
- - name: Install dependencies
+ - name: Setup Python
+ uses: ./.github/actions/setup-python.yml
if: steps.check.outcome == 'failure'
- uses: ./.github/actions/cached-dependencies
- with:
- run: |
- apt-get-install
- pip-upgrade
- pip install wheel
- pip install -r requirements/development.txt
- mkdir ${{ github.workspace }}/.temp
- name: Run celery
if: steps.check.outcome == 'failure'
run: celery --app=superset.tasks.celery_app:app worker -Ofair -c 2 &
diff --git a/superset/__init__.py b/superset/__init__.py
index 5c8ff3ca2d..c985fbbd54 100644
--- a/superset/__init__.py
+++ b/superset/__init__.py
@@ -46,5 +46,6 @@ results_backend = LocalProxy(lambda: results_backend_manager.results_backend)
results_backend_use_msgpack = LocalProxy(
lambda: results_backend_manager.should_use_msgpack
)
+
data_cache = LocalProxy(lambda: cache_manager.data_cache)
thumbnail_cache = LocalProxy(lambda: cache_manager.thumbnail_cache)