Skip to content

Commit

Permalink
GitHub Actions: force use of patched poetry-plugin-export
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtm committed Jan 27, 2023
1 parent 8a78c6d commit 1397728
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
python-version: ${{ env.current_python }}
- name: Install Nox & co
run: |
pip${{ env.current_python }} install poetry==${{ env.poetry_version }}
pip${{ env.current_python }} install poetry==${{ env.poetry_version }} https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip
poetry export --with dev --without-hashes --format constraints.txt --output constraints.txt
pip${{ env.current_python }} install --constraint constraints.txt nox nox-poetry
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
python-version: ${{ env.current_python }}
- name: Install Nox & co
run: |
pip${{ env.current_python }} install poetry==${{ env.poetry_version }}
pip${{ env.current_python }} install poetry==${{ env.poetry_version }} https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip
poetry export --with dev --without-hashes --format constraints.txt --output constraints.txt
pip${{ env.current_python }} install --constraint constraints.txt nox nox-poetry
- name: Install Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
python-version: ${{ env.current_python }}
- name: Install Nox & co
run: |
pip${{ env.current_python }} install poetry==${{ env.poetry_version }}
pip${{ env.current_python }} install poetry==${{ env.poetry_version }} https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip
poetry export --with dev --without-hashes --format constraints.txt --output constraints.txt
pip${{ env.current_python }} install --constraint constraints.txt nox nox-poetry
- name: Install Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -304,7 +304,7 @@ jobs:
python-version: ${{ env.current_python }}
- name: Install Poetry
run: |
pip${{ env.current_python }} install poetry==${{ env.poetry_version }}
pip${{ env.current_python }} install poetry==${{ env.poetry_version }} https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip
- name: Get package version from Poetry
run: echo "PKG_VERSION=$(poetry version --short)" >> $GITHUB_ENV
- name: Check whether the tag matches the package version
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
python-version: ${{ env.current_python }}
- name: Install Poetry
run: |
pip${{ env.current_python }} install poetry==${{ env.poetry_version }}
pip${{ env.current_python }} install poetry==${{ env.poetry_version }} https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip
- name: Build the wheel
run: poetry build --format wheel
Expand All @@ -380,7 +380,7 @@ jobs:
python-version: ${{ env.current_python }}
- name: Install Poetry
run: |
pip${{ env.current_python }} install poetry==${{ env.poetry_version }}
pip${{ env.current_python }} install poetry==${{ env.poetry_version }} https://github.com/python-poetry/poetry-plugin-export/archive/ead1dfba7050e691be1aba8e612e6f033e3815de.zip
- name: Publish to PyPI
env:
Expand Down

0 comments on commit 1397728

Please sign in to comment.