Skip to content

Commit

Permalink
Install setup tools
Browse files Browse the repository at this point in the history
  • Loading branch information
symroe committed Nov 30, 2024
1 parent fe8d85c commit 5e832b2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ jobs:
- install_uv
- run: uv sync --only-group deploy
- run: make lambda-layers/DependenciesLayer/requirements.txt
- run: sam build
- run: uv pip install setuptools wheel
- run: sam build --debug

- persist_to_workspace:
root: ~/repo/
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ lambda-layers/DependenciesLayer:
mkdir -p $@

lambda-layers/DependenciesLayer/requirements.txt: pyproject.toml uv.lock lambda-layers/DependenciesLayer lambda-layers/DependenciesLayer ## Update the requirements.txt file used to build this Lambda function's DependenciesLayer
uv export --no-hashes --no-dev | sed "s/ @ /@/" > lambda-layers/DependenciesLayer/requirements.txt
uv export --no-hashes --no-editable --no-dev | sed "s/ @ /@/" > lambda-layers/DependenciesLayer/requirements.txt

thumbs/requirements.txt: thumbs/pyproject.toml uv.lock ## Update the requirements.txt file used to build this Lambda function's DependenciesLayer
uv export --no-hashes --project thumbs > thumbs/requirements.txt
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies = [
"pillow==10.4.0",
"psycopg2-binary==2.9.10",
"sorl-thumbnail===12.11.0",
"setuptools>=75.6.0",
]

[tool.uv.workspace]
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 5e832b2

Please sign in to comment.