From 609256034b8d6d394ae8ff302508d75049d2b358 Mon Sep 17 00:00:00 2001 From: Marc Ramirez Invernon Date: Thu, 9 Feb 2023 17:36:09 +0100 Subject: [PATCH 1/2] Use new poetry subcommand to add `dev` deps Poetry changed and deprecated the `--dev` subcommand to define dev dependencies. Now, they recommend using: ``` poetry add --group ``` Signed-off-by: Marc Ramirez Invernon --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 36b6906ceb3..8e4bccac475 100644 --- a/docs/index.md +++ b/docs/index.md @@ -49,7 +49,7 @@ Powertools relies on the AWS SDK bundled in the Lambda runtime. This helps us ac This means you need to add AWS SDK as a development dependency (not as a production dependency). * **Pip**: `pip install "aws-lambda-powertools[aws-sdk]"` -* **Poetry**: `poetry add "aws-lambda-powertools[aws-sdk]" --dev` +* **Poetry**: `poetry add "aws-lambda-powertools[aws-sdk] --group dev"` * **Pipenv**: `pipenv install --dev "aws-lambda-powertools[aws-sdk]"` ???+ note "Local emulation" From f0b49c8a3cc94658edfc20753fab6802b12637ff Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Fri, 10 Feb 2023 15:40:22 +0000 Subject: [PATCH 2/2] docs(homepage): fix double quotes --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 8e4bccac475..8e3ee4a915c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -49,7 +49,7 @@ Powertools relies on the AWS SDK bundled in the Lambda runtime. This helps us ac This means you need to add AWS SDK as a development dependency (not as a production dependency). * **Pip**: `pip install "aws-lambda-powertools[aws-sdk]"` -* **Poetry**: `poetry add "aws-lambda-powertools[aws-sdk] --group dev"` +* **Poetry**: `poetry add "aws-lambda-powertools[aws-sdk]" --group dev` * **Pipenv**: `pipenv install --dev "aws-lambda-powertools[aws-sdk]"` ???+ note "Local emulation"