Skip to content

Commit 1604b7a

Browse files
authored
chore: Install python in various CircleCI job to get them running (#32183)
1 parent f9e93ad commit 1604b7a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,8 @@ jobs:
487487
- <<: *restore_cache
488488
- <<: *install_node_modules
489489
- run: yarn markdown
490-
- run: sudo apt-get update && sudo apt-get install jq # jq is helpful for parsing json
490+
# jq is helpful for parsing json & python required for node-gyp to build lmdb
491+
- run: sudo apt-get update && sudo apt-get install jq python -y
491492
- run: git config --global user.name "GatsbyJS Bot"
492493
- run: git config --global user.email "[email protected]"
493494
- run: sh ./scripts/publish-starters.sh "starters/*"
@@ -563,6 +564,8 @@ jobs:
563564
default: "next"
564565
steps:
565566
- checkout
567+
# python 2 is not built in and node-gyp needs it to build lmdb
568+
- run: apt-get update && apt-get install python -y
566569
- run:
567570
name: "Update React to prerelease"
568571
command: "REACT_CHANNEL=<< parameters.version >> node ./scripts/upgrade-react"

0 commit comments

Comments
 (0)