📌 — Fix httpx max version to avoid a test bug

Stacktrace of the test bug:
```
ImportError while loading conftest '/home/luc/tmp/framasoft/argos/tests/conftest.py'.
tests/conftest.py:6: in <module>
    from fastapi.testclient import TestClient
venv/lib/python3.12/site-packages/fastapi/testclient.py:1: in <module>
    from starlette.testclient import TestClient as TestClient  # noqa
venv/lib/python3.12/site-packages/starlette/testclient.py:362: in <module>
    class TestClient(httpx.Client):
venv/lib/python3.12/site-packages/starlette/testclient.py:444: in TestClient
    url: httpx._types.URLTypes,
E   AttributeError: module 'httpx._types' has no attribute 'URLTypes'
```
This commit is contained in:
Luc Didry 2024-08-27 14:22:30 +02:00
parent d2468eff6e
commit 353d12240f
No known key found for this signature in database
GPG key ID: EA868E12D0257E3C

View file

@ -26,7 +26,7 @@ dependencies = [
"click>=8.1,<9",
"fastapi>=0.103,<0.104",
"fastapi-login>=1.10.0,<2",
"httpx>=0.25,<1",
"httpx>=0.25,<0.27.0",
"Jinja2>=3.0,<4",
"passlib>=1.7.4,<2",
"psycopg2-binary>=2.9,<3",