Skip to content

Commit d39424f

Browse files
committed
Install ubuntu py3 distutils
1 parent f4ff0d0 commit d39424f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/actions/init-python-env/action.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ runs:
3737
python-version: ${{ inputs.python_version }}
3838
cache: 'poetry'
3939

40+
- name: Install distutils
41+
shell: bash
42+
run: |
43+
sudo apt-get update
44+
sudo apt-get install python3-setuptools -y
45+
4046
- name: Install Poetry project dependencies
4147
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4248
env:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ publish-scala:
5454

5555
init-python:
5656
python -m venv ./.venv
57-
poetry run python -m pip install setuptools
57+
poetry run python -m pip install --upgrade setuptools
5858
poetry self add "poetry-dynamic-versioning[plugin]"
5959
poetry install
6060
poetry add pyspark@${SPARK_VERSION}

0 commit comments

Comments
 (0)