diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8de14986..3bd2f601 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,12 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=${PWD}/.github/workflows/constraints.txt pip pip --version - name: Install Poetry run: | - pip install --constraint=.github/workflows/constraints.txt poetry + pip install --constraint=${PWD}/.github/workflows/constraints.txt poetry poetry --version - name: Check if there is a parent commit diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6aacd160..8bce2f93 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -45,7 +45,7 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=${PWD}/.github/workflows/constraints.txt pip pip --version - name: Upgrade pip in virtual environments @@ -59,13 +59,13 @@ jobs: - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=${PWD}/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=${PWD}/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=${PWD}/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Install ghostscript @@ -130,18 +130,18 @@ jobs: - name: Upgrade pip run: | - pip install --constraint=.github/workflows/constraints.txt pip + pip install --constraint=${PWD}/.github/workflows/constraints.txt pip pip --version - name: Install Poetry run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt poetry + pipx install --pip-args=--constraint=${PWD}/.github/workflows/constraints.txt poetry poetry --version - name: Install Nox run: | - pipx install --pip-args=--constraint=.github/workflows/constraints.txt nox - pipx inject --pip-args=--constraint=.github/workflows/constraints.txt nox nox-poetry + pipx install --pip-args=--constraint=${PWD}/.github/workflows/constraints.txt nox + pipx inject --pip-args=--constraint=${PWD}/.github/workflows/constraints.txt nox nox-poetry nox --version - name: Download coverage data