Skip to content

Commit 610c0bc

Browse files
author
Ran Isenberg
committed
move to us
1 parent c59bccc commit 610c0bc

File tree

6 files changed

+358
-673
lines changed

6 files changed

+358
-673
lines changed

.github/workflows/cookiecutter-test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,9 @@ jobs:
3939
enable-cache: true
4040
- name: Set up Python
4141
run: uv python install ${{ env.PYTHON_VERSION }}
42-
- name: Install poetry
43-
run: pipx install poetry
4442
- name: Install dependencies
4543
run: |
46-
pip install --upgrade pip poetry
47-
poetry config --local virtualenvs.in-project true
48-
poetry install --no-root
44+
uv sync
4945
npm ci
5046
- name: Configure AWS credentials
5147
uses: aws-actions/configure-aws-credentials@b47578312673ae6fa5b5096b330d9fbac3d116df # v4.2.1
@@ -57,7 +53,7 @@ jobs:
5753
SESSION_NAME: "github-${{github.sha}}-dev"
5854
- name: Run Cookiecutter with predefined answers
5955
run: |
60-
poetry run cookiecutter --no-input .
56+
uv run cookiecutter --no-input .
6157
- name: Set up Node
6258
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
6359
with:

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ The project is based on my [AWS Lambda Cookbook template project](https://github
1818

1919
* **Docker** - install [Docker](https://www.docker.com/). Required for the Lambda layer packaging process.
2020
* **[AWS CDK](cdk.md)** - Required for synth & deploying the AWS Cloudformation stack.
21-
* Python 3.13
22-
* [poetry](https://pypi.org/project/poetry/) - Make sure to use poetry 2 and above and run ``poetry config --local virtualenvs.in-project true`` so all dependencies are installed in the project '.venv' folder.
21+
* Python 3.14
22+
* [uv](https://docs.astral.sh/uv/) - Install with ``curl -LsSf https://astral.sh/uv/install.sh | sh`` or ``brew install uv``
2323
* For Windows based machines, use the Makefile_windows version (rename to Makefile). Default Makefile is for Mac/Linux.
2424
* Cookiecutter - install with pip/brew ``brew install cookiecutter`` or ``pip install cookiecutter``
2525
<br></br>
@@ -39,7 +39,7 @@ Follow the cookiecutter questions:
3939

4040
```
4141
cd {new repo folder}
42-
poetry env activate
42+
make dev
4343
make deploy
4444
```
4545

@@ -114,8 +114,7 @@ The utilities cover multiple aspect of a production-ready service, including:
114114
### Makefile Commands
115115
#### **Creating a Developer Environment**
116116

117-
1. Run ``make dev``
118-
2. Run ``poetry install``
117+
1. Run ``make dev`` - This will install uv, sync dependencies, and set up pre-commit hooks
119118

120119
<br></br>
121120
#### **Deploy CDK**

0 commit comments

Comments
 (0)