diff --git a/pyproject.toml b/pyproject.toml index 6ca4f147..00c94e10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,8 +3,15 @@ name = "datadog_lambda" version = "8.121.0.dev0" description = "The Datadog AWS Lambda Library" authors = ["Datadog, Inc. "] + +[project] +name = "datadog_lambda" +version = "8.121.0.dev0" +description = "The Datadog AWS Lambda Library" +authors = [{ name = "Datadog, Inc.", email = "dev@datadoghq.com" }] license = "Apache-2.0" readme = "README.md" +requires-python = ">=3.8.0,<4" repository = "https://github.com/DataDog/datadog-lambda-python" keywords = [ "datadog", @@ -24,26 +31,21 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ] +dependencies = [ + "datadog>=0.51.0,<1.0.0", + "wrapt>=1.11.2,<2", + "ddtrace>=3.19.1,<4", + "ujson>=5.9.0", +] -[tool.poetry.dependencies] -python = ">=3.8.0,<4" -datadog = ">=0.51.0,<1.0.0" -wrapt = "^1.11.2" -ddtrace = ">=3.19.1,<4" -ujson = ">=5.9.0" -botocore = { version = "^1.34.0", optional = true } -requests = { version ="^2.22.0", optional = true } -pytest = { version= "^8.0.0", optional = true } -pytest-benchmark = { version = "^4.0", optional = true } -flake8 = { version = "^5.0.4", optional = true } -[tool.poetry.extras] +[project.optional-dependencies] dev = [ - "botocore", - "flake8", - "pytest", - "pytest-benchmark", - "requests", + "botocore>=1.34.0,<2", + "requests>=2.22.0,<3", + "pytest>=8.0.0,<9", + "pytest-benchmark>=4.0,<5", + "flake8>=5.0.4,<6", ] [build-system]