Skip to content

Commit

Permalink
go back to using Python 3.11 for GA until Node.js 16 is dropped
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Feb 8, 2024
1 parent 0683307 commit 5d54e95
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
node-version: 16.x
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --builtin_python=true
- run: npx @mapbox/node-pre-gyp build -j max
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
exclude:
- node-version: 16.x
platform: ubuntu-22.04
- node-version: 16.x
python-version: 3.12

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -81,7 +83,7 @@ jobs:
node-version: 18.x
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"
- name: set LIBS
run: echo LIBS=`pkg-config --libs python3-embed` >> $GITHUB_ENV
- name: set CXXFLAGS
Expand All @@ -108,7 +110,7 @@ jobs:
node-version: 18.x
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --builtin_python
- run: npx @mapbox/node-pre-gyp build -j max
Expand Down Expand Up @@ -138,7 +140,7 @@ jobs:
node-version: 18.x
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --builtin_python
- run: npx @mapbox/node-pre-gyp build -j max
Expand Down Expand Up @@ -170,7 +172,7 @@ jobs:
node-version: 18.x
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --debug
- run: npx @mapbox/node-pre-gyp build -j max
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
node-version: 18.x
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"
- name: set LIBS
run: echo LIBS=`pkg-config --libs python3-embed` >> $GITHUB_ENV
- name: set CXXFLAGS
Expand Down

0 comments on commit 5d54e95

Please sign in to comment.