Skip to content

Commit

Permalink
fix beterproto python optional compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
KW-M committed Oct 10, 2024
1 parent 14996fb commit b406563
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-site-and-publish-to-ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
cache: "pip" # caching pip dependencies

- name: Install Betterproto
run: pip install "betterproto[compiler]"
run: pip install "betterproto[compiler]==2.0.0b7"

# - name: Install Cython
# run: pip install Cython
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sveltekit:sync": "cd frontend; svelte-kit sync",
"sveltekit:check": "cd frontend;svelte-kit sync && svelte-check",
"optimize:svgs": "svgo --folder frontend/src/assets/originals --output frontend/src/assets/optimized",
"compile:proto": "pnpm run compile:proto:python && pnpm run compile:proto:typescript",
"compile:proto": "pnpm run compile:proto:typescript",
"compile:proto:python": "protoc --experimental_allow_proto3_optional --python_betterproto_out=rov-python/protobufs/ protobufs/rov_actions.proto",
"compile:proto:typescript": "protoc --experimental_allow_proto3_optional --ts_out=frontend/src/js/shared/ protobufs/rov_actions.proto",
"compile:browserify": "browserify ./src/js/shared/etc/nodeJsShims.js --standalone nodeJsShim -o ./src/js/shared/nodeShimsBundle.js",
Expand Down

0 comments on commit b406563

Please sign in to comment.