mirror of
https://github.com/PaiGramTeam/sqlmodel.git
synced 2024-11-29 10:36:33 +00:00
⬆️ Upgrade Poetry to version ==1.2.0b1
(#303)
This commit is contained in:
parent
296a0935d1
commit
f7d1bbe5b6
6
.github/workflows/build-docs.yml
vendored
6
.github/workflows/build-docs.yml
vendored
@ -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
|
||||||
|
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -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
|
||||||
|
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user