Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request dandi#1471 from dandi/unbreak-vcrpy
Browse files Browse the repository at this point in the history
Unbreak vcrpy install
  • Loading branch information
jwodder authored Jul 29, 2024
2 parents 3958b56 + b9c726d commit f07f824
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,12 @@ jobs:
python -m pip install --upgrade pip wheel
python -m pip install --upgrade tox
# <https://github.com/kevin1024/vcrpy/issues/855>
# <https://github.com/pypa/setuptools/issues/4519>
- 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
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

# <https://github.com/kevin1024/vcrpy/issues/855>
# <https://github.com/pypa/setuptools/issues/4519>
- 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
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ jobs:
with:
python-version: ${{ matrix.python }}

# <https://github.com/kevin1024/vcrpy/issues/855>
# <https://github.com/pypa/setuptools/issues/4519>
- 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
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/typing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,12 @@ jobs:
python -m pip install --upgrade pip
python -m pip install --upgrade tox
# <https://github.com/kevin1024/vcrpy/issues/855>
# <https://github.com/pypa/setuptools/issues/4519>
- 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

0 comments on commit f07f824

Please sign in to comment.