@@ -3,19 +3,31 @@ name = "datadog_lambda"
33version = " 8.123.0.dev0"
44description = " The Datadog AWS Lambda Library"
55authors = [" Datadog, Inc. <dev@datadoghq.com>" ]
6+
7+ [project ]
8+ name = " datadog_lambda"
69license = " Apache-2.0"
710readme = " README.md"
11+ requires-python = " >=3.8.0,<4"
812repository = " https://github.com/DataDog/datadog-lambda-python"
913keywords = [
1014 " datadog" ,
1115 " aws" ,
1216 " lambda" ,
1317 " layer" ,
1418]
19+ dependencies = [
20+ " datadog>=0.51.0,<1.0.0" ,
21+ " wrapt>=1.11.2,<2" ,
22+ " ddtrace>=3.19.1,<4; python_version>='3.9.0' and python_version < '3.10'" ,
23+ " ddtrace>=4.1.1,<5; python_version>='3.10.0'" ,
24+ " ujson>=5.9.0" ,
25+ ]
1526packages = [
1627 { include = " datadog_lambda" }
1728]
1829classifiers = [
30+ " Programming Language :: Python :: 3 :: Only" ,
1931 " Programming Language :: Python :: 3.8" ,
2032 " Programming Language :: Python :: 3.9" ,
2133 " Programming Language :: Python :: 3.10" ,
@@ -25,14 +37,13 @@ classifiers = [
2537 " Programming Language :: Python :: 3.14" ,
2638]
2739
40+ # can remove tool.poetry.depencies and tool.poetry.extras
41+ # after deprecation of Python 3.8
2842[tool .poetry .dependencies ]
2943python = " >=3.8.0,<4"
3044datadog = " >=0.51.0,<1.0.0"
3145wrapt = " ^1.11.2"
32- ddtrace = [
33- {version = " >=3.19.1,<4" , python = " >=3.8,<3.10" },
34- {version = " >=4.1.1,<5" , python = " >=3.10" }
35- ]
46+ ddtrace = " >=3.19.1,<4"
3647ujson = " >=5.9.0"
3748botocore = { version = " ^1.34.0" , optional = true }
3849requests = { version =" ^2.22.0" , optional = true }
@@ -49,9 +60,18 @@ dev = [
4960 " requests" ,
5061]
5162
63+ [project .optional-dependencies ]
64+ dev = [
65+ " botocore>=1.34.0,<2" ,
66+ " requests>=2.22.0,<3" ,
67+ " pytest>=8.0.0,<9" ,
68+ " pytest-benchmark>=4.0,<5" ,
69+ " flake8>=5.0.4,<6" ,
70+ ]
71+
5272[build-system ]
5373requires = [" poetry-core>=1.0.0" ]
5474build-backend = " poetry.core.masonry.api"
5575
5676[tool .pytest .ini_options ]
57- addopts = " --benchmark-disable --benchmark-autosave"
77+ addopts = " --benchmark-disable --benchmark-autosave"
0 commit comments