Skip to content

Commit

Permalink
chore(release): publish with Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
mate-from-mattr authored Jul 10, 2024
1 parent 79d9027 commit 3041652
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
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

0 comments on commit 3041652

Please sign in to comment.