From add3f5e4a5e805ff1cd93a22f5a9ce1847eee75f Mon Sep 17 00:00:00 2001 From: "mirko.morandi" Date: Mon, 6 Jul 2020 08:45:35 +0100 Subject: [PATCH] attempt at using python3 for databricks artifact generation #2 --- .github/workflows/docker_build_test_push.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_build_test_push.yml b/.github/workflows/docker_build_test_push.yml index 3f9fae8b74..81b818bf2c 100644 --- a/.github/workflows/docker_build_test_push.yml +++ b/.github/workflows/docker_build_test_push.yml @@ -140,7 +140,7 @@ jobs: # databricks provider DBFS bug) - uses: actions/setup-python@v2 with: - python-version: ['2.x', '3.x'] + python-version: '2.x' - name: Upload Spark JARs run: | @@ -211,6 +211,9 @@ jobs: run: set -e make compile-protos-python - name: Upload Python egg to Databricks + uses: actions/setup-python@v2 + with: + python-version: '3.x' run: | set -ex git fetch --unshallow @@ -218,8 +221,8 @@ jobs: export DATABRICKS_HOST="$TF_VAR_databricks_workspace_url" export DATABRICKS_TOKEN=$(terraform output databricks_token) set -x - pip3 install databricks-cli - python3 setup.py bdist_egg + pip install databricks-cli + python setup.py bdist_egg dbfs mkdirs dbfs:/pypi/feast/ dbfs cp dist/*.egg dbfs:/pypi/feast/ working-directory: sdk/python