Skip to content

Commit 6d74191

Browse files
Remove unused dependencies (#827)
Removed dependencies that are unused or in the wrong dependency group
1 parent 816d987 commit 6d74191

File tree

2 files changed

+22
-61
lines changed

2 files changed

+22
-61
lines changed

poetry.lock

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

pyproject.toml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ requires-poetry = ">=2.0.0"
88
[tool.poetry.dependencies]
99
python = "^3.10"
1010
ops = "^2.17.0"
11-
cryptography = "^44.0.0"
1211
boto3 = "^1.35.70"
1312
pgconnstr = "^1.0.1"
1413
requests = "^2.32.3"
1514
tenacity = "^9.0.0"
16-
cosl = "^0.0.45"
1715
pydantic = "^1.10.19"
18-
poetry-core = "^2.0.0"
19-
jsonschema = "^4.23.0"
2016
jinja2 = "^3.1.4"
2117
lightkube = "^0.15.5"
2218
lightkube-models = "^1.28.1.4"
@@ -28,13 +24,15 @@ ops = ">=2.0.0"
2824
# data_platform_libs/v0/upgrade.py
2925
poetry-core = "*"
3026
# data_platform_libs/v0/upgrade.py requires pydantic ^1.10
31-
# grafana_agent/v0/cos_agent.py requires pydantic <2
32-
# tempo_coordinator_k8s/v0/tracing.py supports both pydantic <2 and pydantic 2
33-
pydantic = "^1.10, <2"
34-
# grafana_agent/v0/cos_agent.py
27+
# tempo_coordinator_k8s/v0/tracing.py requires pydantic
28+
pydantic = "^1.10"
29+
# loki_k8s/v1/loki_push_api.py and prometheus_k8s/v0/prometheus_scrape.py
3530
cosl = "*"
3631
# tempo_coordinator_k8s/v0/charm_tracing.py
3732
opentelemetry-exporter-otlp-proto-http = "1.21.0"
33+
# tls_certificates_interface/v2/tls_certificates.py
34+
cryptography = "*"
35+
jsonschema = "*"
3836

3937
[tool.poetry.group.format]
4038
optional = true
@@ -53,11 +51,7 @@ optional = true
5351

5452
[tool.poetry.group.unit.dependencies]
5553
coverage = {extras = ["toml"], version = "^7.6.8"}
56-
pydantic = "^1.10.19"
5754
pytest = "^8.3.3"
58-
pytest-mock = "^3.14.0"
59-
pytest-asyncio = "*"
60-
parameterized = "^0.9.0"
6155

6256
[tool.poetry.group.integration]
6357
optional = true

0 commit comments

Comments
 (0)