Skip to content

Commit

Permalink
Use Makefile to get around SAM issue
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Dec 2, 2024
1 parent 4f7524f commit 9e0b9b1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lambda-layers/DependenciesLayer/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

build-DependenciesLayer:
pip install --break-system-packages setuptools
pip install --upgrade -r requirements.txt --target "$(ARTIFACTS_DIR)/python/"
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ lint.extend-select = [

[dependency-groups]
dev = [
"aws-sam-cli==1.131.0",
"pytest==8.3.3",
"pytest-cov==6.0.0",
"pytest-django==4.9.0",
Expand Down
2 changes: 1 addition & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Resources:
CompatibleRuntimes:
- python3.12
Metadata:
BuildMethod: python3.12
BuildMethod: makefile


ElectionLeafletsFunction:
Expand Down
2 changes: 2 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e0b9b1

Please sign in to comment.