From 5d54e953fbad4bfe6eea07cc27c9e89d606410e9 Mon Sep 17 00:00:00 2001 From: Momtchil Momtchev Date: Thu, 8 Feb 2024 19:55:55 +0100 Subject: [PATCH] go back to using Python 3.11 for GA until Node.js 16 is dropped --- .github/workflows/publish.yml | 2 +- .github/workflows/test-dev.yml | 10 ++++++---- .github/workflows/test-package.yml | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 64597a3..63a710c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 diff --git a/.github/workflows/test-dev.yml b/.github/workflows/test-dev.yml index 67bb192..5e258b4 100644 --- a/.github/workflows/test-dev.yml +++ b/.github/workflows/test-dev.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 3c65898..f803101 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -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