Skip to content

Commit

Permalink
chore(github): disable pip version check to fix workflows
Browse files Browse the repository at this point in the history
Seems to be related to actions/setup-python#809.
  • Loading branch information
jbms committed Oct 31, 2024
1 parent 9260fa8 commit 70f8763
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:
# uses: mxschmitt/action-tmate@v3
- name: Install Python packaging/test tools
run: pip install --upgrade pip tox nox wheel numpy -r python/requirements-test.txt
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
- uses: ./.github/actions/setup-firefox
- run: nox -s lint format mypy
- name: Check for dirty working directory
Expand All @@ -111,6 +113,8 @@ jobs:
# Verify that editable install works
- name: Install in editable form
run: pip install -e . --config-settings editable_mode=strict
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Run Python tests against editable install (excluding WebGL)
working-directory: python/tests
run: pytest -vv --skip-browser-tests
Expand Down Expand Up @@ -158,11 +162,15 @@ jobs:
run: git diff --exit-code
- name: Install setuptools
run: pip install setuptools
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Build Python source distribution (sdist)
run: python setup.py sdist --format gztar
if: ${{ runner.os == 'Linux' }}
- name: Install cibuildwheel
run: pip install cibuildwheel
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Build Python wheels
run: bash -xve ./python/build_tools/cibuildwheel.sh
env:
Expand Down Expand Up @@ -192,6 +200,8 @@ jobs:
macos-skip-brew-update: "true"
- name: Install nox
run: pip install nox
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Build docs
run: nox -s docs
- name: Upload docs as artifact
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build_docs_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
macos-skip-brew-update: "true"
- name: Install nox
run: pip install nox
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
- name: Build documentation
run: nox -s docs
- name: Upload client as artifact
Expand Down

0 comments on commit 70f8763

Please sign in to comment.