Skip to content

Commit e5c4abf

Browse files
authored
Added missing otel dependency. (#621)
1 parent 442621d commit e5c4abf

2 files changed

Lines changed: 32 additions & 28 deletions

File tree

pyproject.toml

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -35,37 +35,38 @@ dependencies = [
3535
]
3636
dynamic = ["version"]
3737

38+
[project.urls]
39+
"Bug Tracker" = "https://github.com/taskiq-python/taskiq/issues"
40+
Changelog = "https://github.com/taskiq-python/taskiq/releases"
41+
Documentation = "https://taskiq-python.github.io/"
42+
Homepage = "https://taskiq-python.github.io/"
43+
Repository = "https://github.com/taskiq-python/taskiq"
44+
45+
[project.scripts]
46+
taskiq = "taskiq.__main__:main"
47+
48+
[project.entry-points.opentelemetry_instrumentor]
49+
taskiq = "taskiq.instrumentation:TaskiqInstrumentor"
50+
51+
[project.entry-points.taskiq_cli]
52+
worker = "taskiq.cli.worker.cmd:WorkerCMD"
53+
scheduler = "taskiq.cli.scheduler.cmd:SchedulerCMD"
54+
3855
[project.optional-dependencies]
3956
cbor = ["cbor2>=5"]
4057
metrics = ["prometheus_client>=0"]
4158
msgpack = ["msgpack>=1.0.7"]
4259
opentelemetry = [
4360
"opentelemetry-api (>=1.38.0,<2.0.0)",
4461
"opentelemetry-instrumentation (>=0.59b0,<1)",
45-
"opentelemetry-semantic-conventions (>=0.59b0,<1)"
62+
"opentelemetry-semantic-conventions (>=0.59b0,<1)",
63+
"psutil>=7",
4664
]
4765
orjson = ["orjson>=3"]
4866
reload = ["watchdog>=4", "gitignore-parser>=0"]
4967
uv = ["uvloop>=0.16.0,<1; sys_platform != 'win32'"]
5068
zmq = ["pyzmq>=26"]
5169

52-
[project.entry-points.opentelemetry_instrumentor]
53-
taskiq = "taskiq.instrumentation:TaskiqInstrumentor"
54-
55-
[project.entry-points.taskiq_cli]
56-
worker = "taskiq.cli.worker.cmd:WorkerCMD"
57-
scheduler = "taskiq.cli.scheduler.cmd:SchedulerCMD"
58-
59-
[project.scripts]
60-
taskiq = "taskiq.__main__:main"
61-
62-
[project.urls]
63-
"Bug Tracker" = "https://github.com/taskiq-python/taskiq/issues"
64-
Changelog = "https://github.com/taskiq-python/taskiq/releases"
65-
Documentation = "https://taskiq-python.github.io/"
66-
Homepage = "https://taskiq-python.github.io/"
67-
Repository = "https://github.com/taskiq-python/taskiq"
68-
6970
[dependency-groups]
7071
dev = [
7172
"black>=25.11.0",
@@ -198,6 +199,16 @@ lint.mccabe = { max-complexity = 10 }
198199
"T201" # print found
199200
]
200201

202+
[tool.ruff.lint.flake8-bugbear]
203+
extend-immutable-calls = ["taskiq_dependencies.Depends", "taskiq.TaskiqDepends"]
204+
205+
[tool.ruff.lint.pydocstyle]
206+
convention = "pep257"
207+
ignore-decorators = ["typing.overload"]
208+
209+
[tool.ruff.lint.pylint]
210+
allow-magic-value-types = ["int", "str", "float"]
211+
201212
[tool.tox]
202213
requires = ["tox>=4"]
203214
isolated_build = true
@@ -213,13 +224,3 @@ commands = [["pytest", "-vv", "-n", "auto"]]
213224
extend-exclude = [
214225
"docs/README.md" # because of identifier in head section
215226
]
216-
217-
[tool.ruff.lint.flake8-bugbear]
218-
extend-immutable-calls = ["taskiq_dependencies.Depends", "taskiq.TaskiqDepends"]
219-
220-
[tool.ruff.lint.pydocstyle]
221-
convention = "pep257"
222-
ignore-decorators = ["typing.overload"]
223-
224-
[tool.ruff.lint.pylint]
225-
allow-magic-value-types = ["int", "str", "float"]

uv.lock

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

0 commit comments

Comments
 (0)