From 36caa913c07e33e059c781ddf5f6a01b98f8a77f Mon Sep 17 00:00:00 2001 From: staticdev Date: Wed, 21 Dec 2022 21:44:55 +0100 Subject: [PATCH] Bump Poetry 1.3.1 --- .github/workflows/constraints.txt | 1 - .github/workflows/integration.yml | 2 +- .github/workflows/lint.yml | 15 +++++++++++---- .github/workflows/poetry-constraints.txt | 1 + .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 6 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 .github/workflows/poetry-constraints.txt diff --git a/.github/workflows/constraints.txt b/.github/workflows/constraints.txt index e811331f0..249a21f6f 100644 --- a/.github/workflows/constraints.txt +++ b/.github/workflows/constraints.txt @@ -1,3 +1,2 @@ pip==22.3.1 -poetry==1.2.2 virtualenv==20.17.1 diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 8f8f73523..035dcab86 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -38,7 +38,7 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=.github/workflows/poetry-constraints.txt poetry poetry --version - name: Install dependencies diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ca9fda6a7..4856b6eda 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,11 +31,18 @@ jobs: with: python-version: ${{ matrix.python-version }} - - name: Install dependencies + - name: Upgrade pip + run: | + pip install --constraint=.github/workflows/constraints.txt pip + pip --version + + - name: Install Poetry run: | - python -m pip install --upgrade pip - python -m pip install --upgrade poetry - poetry install + pip install --constraint=.github/workflows/poetry-constraints.txt poetry + poetry --version + + - name: Install dependencies + run: poetry install - name: Lint run: ./scripts/lint.sh diff --git a/.github/workflows/poetry-constraints.txt b/.github/workflows/poetry-constraints.txt new file mode 100644 index 000000000..58afc0c3f --- /dev/null +++ b/.github/workflows/poetry-constraints.txt @@ -0,0 +1 @@ +poetry==1.3.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c6c737725..693502291 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - name: Install Poetry run: | - pip install --constraint=.github/workflows/constraints.txt poetry + pip install --constraint=.github/workflows/poetry-constraints.txt poetry poetry --version - name: Check if there is a parent commit diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 46b015845..2b503b7cc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,7 +61,7 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=.github/workflows/poetry-constraints.txt poetry poetry --version - name: Install dependencies