Skip to content

Commit

Permalink
fix: Explicitly install AIOHTTP Retry deps
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Jul 13, 2024
1 parent fd37746 commit c5a133d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name = "call-center-ai"
readme = "README.md"
requires-python = "==3.11"
dependencies = [
"aiohttp-retry==2.8.3", # Retry middleware for aiohttp, used with Twilio SDK
"aiohttp==3.9.5", # Async HTTP client for Azure and Twilio SDKs
"aiosqlite==0.20.0", # Async SQLite3 driver
"azure-ai-translation-text==1.0.0", # Azure Cognitive Services Text Translation
Expand Down Expand Up @@ -75,8 +76,9 @@ ignore_notebooks = true
pep621_dev_dependency_groups = ["dev"]

[tool.deptry.per_rule_ignores]
DEP002 = ["aiohttp"]
DEP003 = ["aiohttp_retry"]
DEP002 = [
"aiodns", # Resolver is required for the AIOHTTP AsyncResolver TCP resolver
]

[tool.black]
target-version = ["py311"]
Expand Down
4 changes: 3 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ aiohttp==3.9.5 \
aiohttp-retry==2.8.3 \
--hash=sha256:3aeeead8f6afe48272db93ced9440cf4eda8b6fd7ee2abb25357b7eb28525b45 \
--hash=sha256:9a8e637e31682ad36e1ff9f8bcba912fcfc7d7041722bc901a4b948da4d71ea9
# via twilio
# via
# call-center-ai (pyproject.toml)
# twilio
aiosignal==1.3.1 \
--hash=sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc \
--hash=sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ aiohttp==3.9.5 \
aiohttp-retry==2.8.3 \
--hash=sha256:3aeeead8f6afe48272db93ced9440cf4eda8b6fd7ee2abb25357b7eb28525b45 \
--hash=sha256:9a8e637e31682ad36e1ff9f8bcba912fcfc7d7041722bc901a4b948da4d71ea9
# via twilio
# via
# call-center-ai (pyproject.toml)
# twilio
aiosignal==1.3.1 \
--hash=sha256:54cd96e15e1649b75d6c87526a6ff0b6c1b0dd3459f43d9ca11d48c339b68cfc \
--hash=sha256:f8376fb07dd1e86a584e4fcdec80b36b7f81aac666ebc724e2c090300dd83b17
Expand Down

0 comments on commit c5a133d

Please sign in to comment.