Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Commit

Permalink
feat: Install boto3 and typer everywhere
Browse files Browse the repository at this point in the history
This is a workaround for the lack of Poetry subproject support
<python-poetry/poetry#2270>, discussed here
<https://stackoverflow.com/q/69763090/96588>.

Unfortunately this means boto3 and typer will be installed whenever we
run `poetry install`, including into Lambdas.
  • Loading branch information
l0b0 committed Nov 4, 2021
1 parent 0a013e1 commit 2022bc7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pyproject.toml
Expand Up @@ -98,7 +98,7 @@ python = "^3.8"
"aws-cdk.aws-stepfunctions" = {version = "*", optional = true}
"aws-cdk.aws-stepfunctions_tasks" = {version = "*", optional = true}
awscli = {version = "*", optional = true}
boto3 = {version = "*", optional = true}
boto3 = "*"
cattrs = {version = "*", optional = true}
jsonschema = {version = "*", extras = ["format"], optional = true}
multihash = {version = "*", optional = true}
Expand All @@ -107,7 +107,7 @@ pystac = {version = "*", optional = true}
slack-sdk = {version = "*", extras = ["models", "webhook"], optional = true}
smart-open = {version = "*", extras = ["s3"], optional = true}
strict-rfc3339 = {optional = true, version = "*"}
typer = {version = "*", optional = true}
typer = "*"
ulid-py = {version = "*", optional = true}
linz-logger = {version = "*", optional = true}

Expand Down Expand Up @@ -170,10 +170,6 @@ check_stac_metadata = [
"pynamodb",
"strict-rfc3339",
]
cli = [
"boto3",
"typer",
]
content_iterator = [
"jsonschema",
"linz-logger",
Expand Down

0 comments on commit 2022bc7

Please sign in to comment.