Skip to content

Commit 31ee42a

Browse files
authored
Need install dev-requirements in test jobs (#955)
`distutils` is needed by the bazel test jobs, but it was removed in Python 3.12. This is causing those test jobs to fail in CI. Adding `pip install -r dev-requirements.txt` to those jobs will install `setuptools`, which will in turn satisfy that requirement.
1 parent 8a1b6b4 commit 31ee42a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ jobs:
329329
dev-requirements.txt
330330
331331
- name: Install dependencies
332-
run: pip install -r requirements.txt
332+
run: pip install -r requirements.txt -r dev-requirements.txt
333333

334334
- name: Set up Bazel
335335
uses: './.github/actions/set-up-bazel'
@@ -384,7 +384,7 @@ jobs:
384384
dev-requirements.txt
385385
386386
- name: Install dependencies
387-
run: pip install -r requirements.txt
387+
run: pip install -r requirements.txt -r dev-requirements.txt
388388

389389
- name: Set up Bazel
390390
uses: './.github/actions/set-up-bazel'

0 commit comments

Comments
 (0)