Skip to content

Commit 193fb7d

Browse files
author
Daniele Briggi
committed
fix(workflow): ios18 missing python distutils
1 parent 64eda5e commit 193fb7d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ jobs:
252252
exit 1
253253
254254
- name: remove with-typescript-nextjs
255-
if: matrix.os != 'ubuntu-latest' #rm: cannot remove examples/with-typescript-nextjs: Directory not empty
256255
run: rm -rf examples/with-typescript-nextjs/*
257256

258257
- name: node with-javascript-vite
@@ -339,7 +338,8 @@ jobs:
339338
xcode-version: 14.3
340339

341340
- name: build driver
342-
run: npm i && npm run build && echo "DRIVER=$(npm pack --json | jq '.[0].filename')" >> $GITHUB_ENV
341+
# distutils is required for the driver build (dep. `node-gyp`) and it was removed since python 3.13
342+
run: brew install python-setuptools && npm i && npm run build && echo "DRIVER=$(npm pack --json | jq '.[0].filename')" >> $GITHUB_ENV
343343

344344
- name: install driver
345345
working-directory: examples/with-typescript-react-native

examples/with-javascript-expo/hooks/useCategories.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const useCategories = () => {
77
const getCategories = async () => {
88
let db = null;
99
try {
10+
db = getDbConnection();
1011
const tags = await db.sql('SELECT * FROM tags')
1112
const filteredTags = tags.filter(tag => {
1213
return tag['name'] !== 'Work' && tag['name'] !== 'Personal'

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)