Repository navigation
Examples of Lambda: the public layers of a version of Pyjoyment, with the variable pyjoyment_version - #617
Merged
Conversation
… the variable pyjoyment_version The variable takes the layers of the latest release of Pyjoyment-Lambda-Layers whose tag has the version, as pyjoyment-0_3_0-python3_15, and in lambda_zip the layer of Python of the same release, and without it the aliases of the index of the latest release, as before. The cookbook and the skill deploy name the layers with the version of Pyjoyment. Closes #562 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Tests
|
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.
The public layers of Pyjoyment-Lambda-Layers have the version of Pyjoyment in their names, as
pyjoyment-0_3_0-python3_15, and their releases in their tags, as0.3.0+2026.11.05. The examples of Lambda take the layers of a version of Pyjoyment, as the one thatgenerate lambda-zip --function-onlytells, for a function of the checkout of an older version.Changes
examples/lambda,examples/lambda_stream,examples/lambda_zip: the variablepyjoyment_versionnullby default: the aliases of the index of the latest release,pyjoyment-python3_15, as before, so the examples follow the layers of a new release without a change;0.3.0: the latest release whose tag has the prefix0.3.0+, from the list of releases of the API of GitHub, sorted bypublished_at, as the API has an order of its own, and the layerpyjoyment-0_3_0-python3_15of its index;lambda_zip: the layer of Python of the same index, so that both layers are of one release;public_layers=false;README.md.docs/guides/cookbook.rstand the skilldeploy: the layers named with the version of Pyjoyment, the aliases of the latest release, and the releases of a version, whose layers come after the release of Pyjoyment.generate lambda-zip --function-only, as the generator would need the naming of another repository, and a development version has no layer; it tells the version of Pyjoyment already.Validation
layers.tfand the variables without the provider of AWS, withtofu applyof outputs only:nulland0.3.0give the samearn:aws:lambda:eu-central-1:959435416781:layer:pyjoyment-0_3_0-python3_15:1, andlambda_zipthe samepython3_15-arm64:2;0.3.0withruntime=python3.14givespyjoyment-0_3_0-python3_14:1;0.2.0fails with the precondition;public_layers=falsereads nothing.tofu validateandtofu fmtof the three examples.trunk check, Sphinx with-W,t/docs.tofu planofexamples/lambdaandexamples/lambda_stream, deployed, withpyjoyment_versionnulland0.3.0: no changes, onpyjoyment-0_3_0-python3_15:1(examples/lambda_ziphas no deployment to plan against).examples/lambdaandexamples/lambda_streamon the layer of the index, and their tests withTEST_LAMBDA_URLpassing.nulland the new version give the same ARN.Closes #562
🤖 Generated with Claude Code