Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Install Python 3.10 to fix issues with node-gyp #1613

Merged
merged 1 commit into from
Nov 25, 2022
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
10 changes: 9 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ jobs:
with:
node-version: '14.x'

# Temporary fix for "ValueError: invalid mode: 'rU' while trying to load binding.gyp"
# See <PR link>
# This can be removed when "prebuild" updates "node-gyp"
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Get current date
run: echo "CURRENT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
if: matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest'
Expand Down Expand Up @@ -351,4 +359,4 @@ jobs:
working-directory: bindings/java/iota-wallet-java/
run: |
chmod +x gradlew
./gradlew test -i
./gradlew test -i
8 changes: 8 additions & 0 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# Temporary fix for "ValueError: invalid mode: 'rU' while trying to load binding.gyp"
# See <PR link>
# This can be removed when "prebuild" updates "node-gyp"
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down