Skip to content

Commit

Permalink
Merge pull request #18 from dnstapir/more_extras
Browse files Browse the repository at this point in the history
Move keymanagement stuff to extra keymanager
  • Loading branch information
jschlyter authored Nov 15, 2024
2 parents e188fdd + 9d25969 commit f1b40b8
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 60 deletions.
103 changes: 52 additions & 51 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 21 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.12"
botocore = "^1.35.16"
fastapi = ">=0.115.2"
httpx = ">=0.27.2"
jsonformatter = "^0.3.2"
opentelemetry-api = "^1.28.1"
opentelemetry-api = { version = "^1.28.1", optional = true }
opentelemetry-exporter-otlp = { version = "^1.28.1", optional = true }
opentelemetry-instrumentation-botocore = { version = ">=0.48b0", optional = true }
opentelemetry-instrumentation-fastapi = { version = ">=0.48b0", optional = true }
opentelemetry-instrumentation-pymongo = { version = ">=0.48b0", optional = true }
opentelemetry-instrumentation-redis = { version = ">=0.48b0", optional = true }
pydantic = "^2.9.2"
pymongo = "^4.10.1"
redis = "^5.1.1"
cryptography = "^43.0.3"
faas-cache-dict = "^0.5.0"
botocore = { version = "^1.35.16", optional = true }
fastapi = { version = ">=0.115.2", optional = true }
cryptography = { version = "^43.0.3", optional = true }
faas-cache-dict = { version = "^0.5.0", optional = true }
httpx = { version = ">=0.27.2", optional = true }
pydantic = { version = "^2.9.2", optional = true }
pymongo = { version = "^4.10.1", optional = true }
redis = { version = "^5.1.1", optional = true }

[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"
Expand All @@ -31,7 +31,19 @@ fakeredis = "^2.25.1"
pytest-httpx = "^0.32.0"

[tool.poetry.extras]
keymanager = [
"cryptography",
"faas-cache-dict",
"httpx",
"opentelemetry-api",
"pydantic",
"pymongo",
"redis",
]
opentelemetry = [
"botocore",
"fastapi",
"opentelemetry-api",
"opentelemetry-exporter-otlp",
"opentelemetry-instrumentation-botocore",
"opentelemetry-instrumentation-fastapi",
Expand Down

0 comments on commit f1b40b8

Please sign in to comment.