Skip to content

Feat: add TypedPythonEmitCTask and manifest v1 mapper in Gradle plugin (#25 step 2) - #373

Merged
b-re-w merged 1 commit into
developfrom
feat/tp-emit-c-gradle
Nov 7, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/tp-emit-c-gradle

Conversation

@b-re-w

@b-re-w b-re-w commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Refs #25

Summary

  • Feature added: Added TypedPythonEmitCTask and manifest v1 parser/mapper (parseTypedPythonEmitCManifest, TypedPythonEmitCManifest, TypedPythonNativeModuleEntry, ExtensionModuleSource, NotNativeModule, SkippedItem, typedPythonEmitCCommand) in python-multiplatform-gradle-plugin to run python -m typedpython emit-c with declared Gradle inputs and outputs and map the resulting v1 manifest (docs/design/typedpython.md section 4.3.2a) onto pypackpack's BundleRequest.nativeModules and notNativeModules shapes.
  • Test added: Added TypedPythonEmitCTaskTest (6 tests) covering v1 manifest parsing and mapping, additive forward-compatibility keys, format/version/kind validation, deterministic command-line construction, Gradle input/output annotations, stubbed emit-c execution, and exit 1/2 failure reporting.
  • Documentation corrected: Updated docs/SPEC.md (N-10) to record step 2 of TypedPython 3: ship compiled modules through the pypackpack native/mixed slot #25.

Verification

  • :python-multiplatform-gradle-plugin:check: 49 suites, 358 tests, 0 failures, 0 errors (verifyPluginRuntimeClasspath passed).
  • :python-multiplatform-gradle-plugin-fixtures:artifact:desktopTest: 11 suites, 50 tests, 0 failures, 0 errors.

@b-re-w
b-re-w merged commit c8ad08c into develop Nov 7, 2026
@b-re-w
b-re-w deleted the feat/tp-emit-c-gradle branch November 7, 2026 01:15
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