Skip to content

Commit

Permalink
Pin tox < 4.0.0
Browse files Browse the repository at this point in the history
The most recent tox release, 4.x.y, is a major rewrite of the internals
of tox and several things behave quite differently. This new release
is causing CI jobs to fail as something in incompatible with our tox
configuration (likely because it's using wheel builds instead of
sdists). This commit pins the tox version we're using in CI to unblock
things until we can update the tox configuration to be compatible with
the new version tox.
  • Loading branch information
mtreinish committed Jan 4, 2023
1 parent 9d5a504 commit f0ab74b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
${{ runner.os }}-${{ matrix.python-version }}-pip-
${{ runner.os }}-${{ matrix.python-version }}
- name: Install Deps
run: python -m pip install -U tox setuptools virtualenv wheel
run: python -m pip install -U 'tox<4' setuptools virtualenv wheel
- name: Install and Run Tests
run: tox -e py
if: runner.os != 'macOS'
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
${{ runner.os }}-${{ matrix.python-version }}-pip-
${{ runner.os }}-${{ matrix.python-version }}-
- name: Install Deps
run: python -m pip install -U tox
run: python -m pip install -U 'tox<4'
- name: Run lint
run: tox -epep8
cover:
Expand All @@ -79,7 +79,7 @@ jobs:
${{ runner.os }}-${{ matrix.python-version }}-pip-
${{ runner.os }}-${{ matrix.python-version }}-
- name: Install Deps
run: python -m pip install -U tox
run: python -m pip install -U 'tox<4'
- name: Run coverxml
run: tox -ecoverxml
- name: codecov
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Install Deps
run: python -m pip install -U tox
run: python -m pip install -U 'tox<4'
- name: Build Docs
run: tox -edocs
- uses: actions/upload-artifact@v2
Expand Down

0 comments on commit f0ab74b

Please sign in to comment.