mirror of
https://github.com/actions/setup-python.git
synced 2026-06-20 08:42:17 +08:00
Add bootstrap step for packaging tools
Added a step to bootstrap packaging tools before installing dependencies.
This commit is contained in:
parent
3c92d177a0
commit
98755c42c9
5
.github/workflows/e2e-cache.yml
vendored
5
.github/workflows/e2e-cache.yml
vendored
@ -147,7 +147,6 @@ jobs:
|
|||||||
- name: Install poetry
|
- name: Install poetry
|
||||||
run: |
|
run: |
|
||||||
pipx install poetry
|
pipx install poetry
|
||||||
pipx inject poetry "packaging<25"
|
|
||||||
- name: Init pyproject.toml
|
- name: Init pyproject.toml
|
||||||
run: mv ./__tests__/data/pyproject.toml .
|
run: mv ./__tests__/data/pyproject.toml .
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
@ -155,6 +154,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
cache: 'poetry'
|
cache: 'poetry'
|
||||||
|
- name: Bootstrap packaging
|
||||||
|
run: |
|
||||||
|
python -m ensurepip --upgrade
|
||||||
|
python -m pip install --upgrade pip setuptools wheel packaging
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install --no-root
|
run: poetry install --no-root
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user