File tree Expand file tree Collapse file tree
.github/actions/init-python-env Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change @@ -5,9 +5,6 @@ SPARK_VERSION ?= 3.4.0
55
66DIST_DIR = ./dist
77
8- # poetry settings
9- export SETUPTOOLS_USE_DISTUTILS =stdlib
10-
118help :
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:
5855init-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}
You can’t perform that action at this time.
0 commit comments