Skip to content

fix: remove bash -c from build:cpp for Windows compat#109

Merged
timkpaine merged 3 commits intomainfrom
tkp/fix-generated-ci
Feb 15, 2026
Merged

fix: remove bash -c from build:cpp for Windows compat#109
timkpaine merged 3 commits intomainfrom
tkp/fix-generated-ci

Conversation

@timkpaine
Copy link
Member

Fixes CI failures in generated cpp and cppjswasm template repos:

cpp template (python-template-cpp):

  • hatch-cpp 0.3.0 added pkn dependency → ccflowpandaspyarrow, which fails to build from source inside manylinux containers during cibuildwheel
  • Fix: pin hatch-cpp<0.3 in both build-system.requires and develop extras

cppjswasm template (python-template-cppjswasm):

  • bash -c '...' in npm build:cpp script fails on Windows ("The system cannot find the path specified")
  • Fix: replace bash -c wrapper with cross-platform node -e for mkdir and bare em++ command
  • Also pin hatch-cpp<0.3 to prevent the same manylinux issue

@timkpaine timkpaine changed the title fix: pin hatch-cpp<0.3, remove bash -c from build:cpp for Windows compat fix: remove bash -c from build:cpp for Windows compat Feb 15, 2026
@timkpaine timkpaine merged commit 4f23417 into main Feb 15, 2026
14 checks passed
@timkpaine timkpaine deleted the tkp/fix-generated-ci branch February 15, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant