From b9c726d21a67a685bf7ac04b50984d0e418e70a8 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Mon, 29 Jul 2024 08:41:23 -0400 Subject: [PATCH] Unbreak vcrpy install --- .github/workflows/docs.yml | 7 +++++++ .github/workflows/lint.yml | 11 +++++++++++ .github/workflows/test.yml | 7 +++++++ .github/workflows/typing.yml | 7 +++++++ 4 files changed, 32 insertions(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index b52284706..5c7dde293 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -39,5 +39,12 @@ jobs: python -m pip install --upgrade pip wheel python -m pip install --upgrade tox + # + # + - name: Unbreak vcrpy install + run: | + echo 'setuptools<72' > /tmp/pip-constraint.txt + echo PIP_CONSTRAINT=/tmp/pip-constraint.txt >> "$GITHUB_ENV" + - name: Build docs run: tox -e docs diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b9e5d8fb1..1ae9ce35e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,16 +12,27 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.8' + - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install --upgrade tox + # Annotate codespell within PR - uses: codespell-project/codespell-problem-matcher@v1 + + # + # + - name: Unbreak vcrpy install + run: | + echo 'setuptools<72' > /tmp/pip-constraint.txt + echo PIP_CONSTRAINT=/tmp/pip-constraint.txt >> "$GITHUB_ENV" + - name: Run linters run: | tox -e lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9e940a6ae..7b61b5604 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -63,6 +63,13 @@ jobs: with: python-version: ${{ matrix.python }} + # + # + - name: Unbreak vcrpy install + run: | + echo 'setuptools<72' > /tmp/pip-constraint.txt + echo PIP_CONSTRAINT=/tmp/pip-constraint.txt >> "$GITHUB_ENV" + - name: Install dependencies run: | python -m pip install --upgrade pip wheel diff --git a/.github/workflows/typing.yml b/.github/workflows/typing.yml index c01c56cba..a2f5f23c0 100644 --- a/.github/workflows/typing.yml +++ b/.github/workflows/typing.yml @@ -23,5 +23,12 @@ jobs: python -m pip install --upgrade pip python -m pip install --upgrade tox + # + # + - name: Unbreak vcrpy install + run: | + echo 'setuptools<72' > /tmp/pip-constraint.txt + echo PIP_CONSTRAINT=/tmp/pip-constraint.txt >> "$GITHUB_ENV" + - name: Run type checker run: tox -e typing