Skip to content

Commit 91bdb74

Browse files
chore(deps): update dependency httpx to v0.28.0 (#230)
Co-authored-by: Arthur Loiselle <arthur.loiselle@dialogue.co>
1 parent f389258 commit 91bdb74

4 files changed

Lines changed: 11 additions & 8 deletions

File tree

poetry.lock

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ alembic = "1.14.0"
5656
asgi_lifespan = "2.1.0"
5757
Faker = "33.1.0"
5858
greenlet = "3.1.1"
59-
httpx = "0.27.2"
59+
httpx = "0.28.0"
6060
mypy = { version = "1.13.0", extras = ["tests"] }
6161
psycopg2 = { version = "2.9.10", extras = ["binary"] }
6262
pytest = "8.3.3"

tests/pagination/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ def paginated_notes_custom_session(
210210
async def client(app):
211211
async with (
212212
LifespanManager(app),
213-
httpx.AsyncClient(app=app, base_url="http://example.local") as client,
213+
httpx.AsyncClient(
214+
transport=httpx.ASGITransport(app=app), base_url="http://example.local"
215+
) as client,
214216
):
215217
yield client

tests/test_sqla_startup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,9 @@ def now():
183183

184184
async with (
185185
LifespanManager(app),
186-
httpx.AsyncClient(app=app, base_url="http://example.local") as client,
186+
httpx.AsyncClient(
187+
transport=httpx.ASGITransport(app=app), base_url="http://example.local"
188+
) as client,
187189
):
188190
res = await client.get("/one")
189191

0 commit comments

Comments
 (0)