⬆️ Upgrade Poetry to version ==1.2.0b1 (#303)

This commit is contained in:
Sebastián Ramírez 2022-08-27 20:39:37 +02:00 committed by GitHub
parent 296a0935d1
commit f7d1bbe5b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 15 deletions

View File

@ -37,13 +37,9 @@ jobs:
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root-docs key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root-docs
- name: Install poetry - name: Install poetry
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
# TODO: remove python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
# once there's a release of Poetry 1.2.x including poetry-core > 1.1.0a6
# Ref: https://github.com/python-poetry/poetry-core/pull/188
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2 python -m pip install "poetry==1.2.0b1"
python -m pip install "poetry==1.2.0a2"
python -m poetry plugin add poetry-version-plugin python -m poetry plugin add poetry-version-plugin
- name: Configure poetry - name: Configure poetry
run: python -m poetry config virtualenvs.create false run: python -m poetry config virtualenvs.create false

View File

@ -33,13 +33,9 @@ jobs:
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root
- name: Install poetry - name: Install poetry
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
# TODO: remove python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
# once there's a release of Poetry 1.2.x including poetry-core > 1.1.0a6
# Ref: https://github.com/python-poetry/poetry-core/pull/188
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2 python -m pip install "poetry==1.2.0b1"
python -m pip install "poetry==1.2.0a2"
python -m poetry plugin add poetry-version-plugin python -m poetry plugin add poetry-version-plugin
- name: Configure poetry - name: Configure poetry
run: python -m poetry config virtualenvs.create false run: python -m poetry config virtualenvs.create false

View File

@ -40,13 +40,9 @@ jobs:
key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-root
- name: Install poetry - name: Install poetry
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
# TODO: remove python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2
# once there's a release of Poetry 1.2.x including poetry-core > 1.1.0a6
# Ref: https://github.com/python-poetry/poetry-core/pull/188
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --force git+https://github.com/python-poetry/poetry-core.git@ad33bc2 python -m pip install "poetry==1.2.0b1"
python -m pip install "poetry==1.2.0a2"
python -m poetry plugin add poetry-version-plugin python -m poetry plugin add poetry-version-plugin
- name: Configure poetry - name: Configure poetry
run: python -m poetry config virtualenvs.create false run: python -m poetry config virtualenvs.create false