Repository navigation
chore(codegen): drop .trix/client-lib; check tx3c's built-in python-client - #25
Merged
Merged
Conversation
…lient tx3c 0.24.0 ships the first-party client templates itself, and trix 0.27.0 renders the built-in plugins with `tx3c codegen --template <name>` instead of downloading this repository's .trix/client-lib (tx3-lang/tx3#360, #361, tx3-lang/trix#132). Both are on the stable tx3up channel. - Remove .trix/client-lib; the codegen-v1beta0 tag keeps the old copy for trix releases that still fetch it. - The codegen check renders the built-in `python-client` template. Its compile and smoke checks are unchanged, so an SDK change that breaks the client the current tx3c generates still fails here. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tx3c 0.24.0 ships the first-party client templates itself. trix 0.27.0 renders its built-in plugins with
tx3c codegen --template <name>and no longer downloads this repo's.trix/client-lib. The changes are tx3-lang/tx3#360, tx3-lang/tx3#361 and tx3-lang/trix#132. Both releases are on the stable and beta tx3up channels, and the DX e2e suite is green on both..trix/client-libis removed. Thecodegen-v1beta0tag keeps the old copy for trix releases that still fetch it..github/scripts/codegen-check.shnow renders tx3c's built-inpython-clienttemplate. Its compile and smoke checks are unchanged, so an SDK change that would break the client the current tx3c generates still fails here, before the SDK is released.Client template changes now land in
tx3-lang/tx3underbin/tx3c/templates/python-client/.Verification
Ran locally with the released tx3c 0.24.0 on PATH:
python-clientoutput rendered and imported against the in-reposdk/src, andTransferParams(quantity=1)constructed. The script's own venv step could not run locally:cffihas no Python 3.14 wheel. CI covers it.CI installs the same version from the stable channel through
tx3-lang/actions/setup@v1.🤖 Generated with Claude Code