Skip to content

Commit a21ae7e

Browse files
refactoring pyproject.toml dependencies
1 parent debc192 commit a21ae7e

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

pyproject.toml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,22 @@ classifiers = [
2424
"Programming Language :: Python :: 3.13",
2525
"Programming Language :: Python :: 3.14",
2626
]
27-
28-
[tool.poetry.dependencies]
29-
python = ">=3.8.0,<4"
30-
datadog = ">=0.51.0,<1.0.0"
31-
wrapt = "^1.11.2"
32-
# ddtrace = ">=3.19.1,<4; python_version < 3.10"
33-
# ddtrace = ">=4.0.0, <5; python_version >= 3.10"
34-
ddtrace = [
35-
{version = ">=3.19.1,<4", python_version < "3.10"},
36-
{version = ">=4.0.0,<5", python_version >= "3.10"},
27+
dependencies = [
28+
"python>=3.8.0,<4",
29+
"datadog>=0.51.0,<1.0.0",
30+
"wrapt>=1.11.2,<2",
31+
"ddtrace>=3.19.1,<4",
32+
"ujson>=5.9.0",
3733
]
38-
ujson = ">=5.9.0"
39-
botocore = { version = "^1.34.0", optional = true }
40-
requests = { version ="^2.22.0", optional = true }
41-
pytest = { version= "^8.0.0", optional = true }
42-
pytest-benchmark = { version = "^4.0", optional = true }
43-
flake8 = { version = "^5.0.4", optional = true }
4434

45-
[tool.poetry.extras]
35+
36+
[tool.poetry.optional-dependencies]
4637
dev = [
47-
"botocore",
48-
"flake8",
49-
"pytest",
50-
"pytest-benchmark",
51-
"requests",
38+
"botocore>=1.34.0,<2",
39+
"requests>=2.22.0,<3",
40+
"pytest>=8.0.0,<9",
41+
"pytest-benchmark>=4.0,<5",
42+
"flake8>=5.0.4,<6",
5243
]
5344

5445
[build-system]

0 commit comments

Comments
 (0)