Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

chore(release): publish with Python 3.12 #237

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/any-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
# Logging python version for future debugging
- run: python -V

# Required as macos-14 defaults to use python 3.12, this causes issues with node-gyp currently
# 1. node-gyp depends on distutils package which has now been removed in python version 3.12 can use 'pip install setuptools' to fix this
# 2. Node@14 will error with -> Node gyp ERR - invalid mode: 'rU' while trying to load binding.gyp Where 'U' option is now deprecated
- uses: actions/setup-python@v4
with:
python-version: "3.10.11"
python-version: "3.12"
- run: pip install setuptools

- run: yarn install --frozen-lockfile
- run: yarn lint
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18.x
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- run: pip install setuptools
- run: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/push-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- run: pip install setuptools
- run: yarn
- run: yarn install --frozen-lockfile
- run: yarn lint
Expand Down
Loading