Skip to content

Commit

Permalink
Enhance lambda_setup.py: explicitly install pydantic to ensure availa…
Browse files Browse the repository at this point in the history
…bility during dependency installation
  • Loading branch information
Your Name committed May 12, 2025
1 parent 1fbce3b commit aa6f216
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/lambda_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ def install_dependencies():
print("=== Installing dependencies from requirements.txt ===")
run_command(f"pip3 install --no-cache-dir -r {TMP_DIR}/requirements.txt -t {LAMBDA_TASK_ROOT} -v")

# Explicitly install pydantic to ensure it's available
print("=== Explicitly installing pydantic ===")
run_command(f"pip3 install --no-cache-dir pydantic -t {LAMBDA_TASK_ROOT} -v")

print("=== Installing package in development mode ===")
run_command(f"pip3 install --no-cache-dir -e {TMP_DIR} -t {LAMBDA_TASK_ROOT} -v")

Expand Down

0 comments on commit aa6f216

Please sign in to comment.