Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e84c490

Browse files
authoredJan 22, 2025··
chore(ci): make pyproject.toml fully compatible with Poetryv2 (#5902)
Full support for Poetryv2
1 parent bb24814 commit e84c490

File tree

2 files changed

+450
-211
lines changed

2 files changed

+450
-211
lines changed
 

‎poetry.lock

Lines changed: 430 additions & 190 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,26 @@ datadog-lambda = { version = ">=4.77,<7.0", optional = true }
5656
aws-encryption-sdk = { version = ">=3.1.1,<5.0.0", optional = true }
5757
jsonpath-ng = { version = "^1.6.0", optional = true }
5858

59-
[tool.poetry.dev-dependencies]
59+
60+
[tool.poetry.extras]
61+
parser = ["pydantic"]
62+
validation = ["fastjsonschema"]
63+
tracer = ["aws-xray-sdk"]
64+
redis = ["redis"]
65+
all = [
66+
"pydantic",
67+
"pydantic-settings",
68+
"aws-xray-sdk",
69+
"fastjsonschema",
70+
"aws-encryption-sdk",
71+
"jsonpath-ng"
72+
]
73+
# allow customers to run code locally without emulators (SAM CLI, etc.)
74+
aws-sdk = ["boto3"]
75+
datadog = ["datadog-lambda"]
76+
datamasking = ["aws-encryption-sdk", "jsonpath-ng"]
77+
78+
[tool.poetry.group.dev.dependencies]
6079
coverage = { extras = ["toml"], version = "^7.6" }
6180
pytest = "^8.3.4"
6281
black = "^24.8"
@@ -91,26 +110,6 @@ hvac = "^2.3.0"
91110
aws-requests-auth = "^0.4.3"
92111
urllib3 = "<2"
93112
requests = ">=2.32.0"
94-
95-
[tool.poetry.extras]
96-
parser = ["pydantic"]
97-
validation = ["fastjsonschema"]
98-
tracer = ["aws-xray-sdk"]
99-
redis = ["redis"]
100-
all = [
101-
"pydantic",
102-
"pydantic-settings",
103-
"aws-xray-sdk",
104-
"fastjsonschema",
105-
"aws-encryption-sdk",
106-
"jsonpath-ng"
107-
]
108-
# allow customers to run code locally without emulators (SAM CLI, etc.)
109-
aws-sdk = ["boto3"]
110-
datadog = ["datadog-lambda"]
111-
datamasking = ["aws-encryption-sdk", "jsonpath-ng"]
112-
113-
[tool.poetry.group.dev.dependencies]
114113
cfn-lint = "1.22.5"
115114
mypy = "^1.1.1"
116115
types-python-dateutil = "^2.8.19.6"

0 commit comments

Comments
 (0)
Please sign in to comment.