From a71cbe48bfc54042a619d5eb903fc3c83b38d24e Mon Sep 17 00:00:00 2001 From: James Ray Date: Mon, 9 Nov 2026 11:20:40 -0800 Subject: [PATCH] Add demo mission requirements The demo mission's processing image is built by the build_demo_sdc_aws_processing_lambda CodeBuild project in swxsoc/sdc_aws_architecture, whose buildspec selects lambda_function/-requirements.txt and exits when it is missing. Pin the single demo instrument package, demo_craft, at v0.0.1 alongside swxsoc and psycopg2-binary, list it in the dev requirements for unit testing, and record the file in AGENTS.md. Co-Authored-By: Claude Fable 5.1 --- AGENTS.md | 3 ++- lambda_function/demo-requirements.txt | 4 ++++ requirements.dev.txt | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 lambda_function/demo-requirements.txt diff --git a/AGENTS.md b/AGENTS.md index 3f0449c..0a63f4b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -70,7 +70,8 @@ lambda_function/ ├── hermes-requirements.txt # HERMES package dependencies ├── padre-requirements.txt # PADRE package dependencies ├── swxsoc_pipeline-requirements.txt # REACH Mission requirements -└── impax-requirements.txt # IMPAX package dependencies (optional) +├── impax-requirements.txt # IMPAX package dependencies (optional) +└── demo-requirements.txt # Demo mission (demo_craft) dependencies lambda_function/src/file_processor/file_processor.py imports from: - swxsoc: File I/O (get_science_file, parse_file_key, push_science_file) diff --git a/lambda_function/demo-requirements.txt b/lambda_function/demo-requirements.txt new file mode 100644 index 0000000..5f40131 --- /dev/null +++ b/lambda_function/demo-requirements.txt @@ -0,0 +1,4 @@ +psycopg2-binary +swxsoc @ git+https://github.com/swxsoc/swxsoc.git@main +swxsoc[tracker] @ git+https://github.com/swxsoc/swxsoc.git@main +demo_craft @ git+https://github.com/swxsoc/demo_craft.git@v0.0.1 diff --git a/requirements.dev.txt b/requirements.dev.txt index a6a25f9..506acbf 100755 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -20,3 +20,5 @@ padre_craft @ git+https://github.com/PADRESat/padre_craft.git tenacity==9.1.2 # SWxSOC Pipeline swxsoc_reach @ git+https://github.com/swxsoc/swxsoc_reach.git +# Demo +demo_craft @ git+https://github.com/swxsoc/demo_craft.git@v0.0.1