Skip to content

Commit 9ef3b40

Browse files
committed
Attempt to reinstall poetry
1 parent 2e07b3f commit 9ef3b40

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

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

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

40+
- name: Install Poetry (fixed)
41+
shell: bash
42+
run: |
43+
pipx uninstall poetry || true
44+
pipx install poetry
45+
pipx inject poetry "setuptools<80"
46+
4047
- name: Install Poetry project dependencies
4148
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
4249
env:

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ SPARK_VERSION ?= 3.4.0
55

66
DIST_DIR = ./dist
77

8-
# poetry settings
9-
export SETUPTOOLS_USE_DISTUTILS=stdlib
10-
118
help:
129
@echo "init - Setup the repository"
1310
@echo "clean - clean all compiled python files, build artifacts and virtual envs. Run \`make init\` anew afterwards."
@@ -58,7 +55,6 @@ publish-scala:
5855
init-python:
5956
python -m venv ./.venv
6057
./.venv/bin/python -m pip install --upgrade pip
61-
poetry self add "setuptools<80"
6258
poetry self add "poetry-dynamic-versioning[plugin]"
6359
poetry install
6460
poetry add pyspark@${SPARK_VERSION}

0 commit comments

Comments
 (0)