diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index abe5cb2..c0f7541 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -78,6 +78,8 @@ jobs: python -m pip install --upgrade pip pip install poetry poetry install + # tweak to make pypy tests work + poetry add django<4.1 - name: Test with pytest run: | diff --git a/poetry.lock b/poetry.lock index 66d20fd..787820f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1897,4 +1897,4 @@ propcache = ">=0.2.0" [metadata] lock-version = "2.0" python-versions = ">=3.8.0,<3.14" -content-hash = "e3a08471b1236faf8d464f18c9cb405ac2557975efbecc55ebfd9ded589e430b" +content-hash = "0b431858bd2a12b2f2f9937a26ac5295a24a2fdf1e63120a67a39005e416df41" diff --git a/pyproject.toml b/pyproject.toml index 7248b4e..e491ff2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ aiohttp = "^3.9.5" asgiref = "^3.8.1" black = "^24.4.2" click = "<8.1.0" -django = "<6" +django = { version = ">=4.2,<5" } httptools = {version="^0.6.0", markers="sys_platform != 'win32' and sys_platform != 'cygwin' and platform_python_implementation != 'PyPy'"} httpx = "^0.27.0" mypy = {version="^1.0.0", markers="platform_python_implementation != 'PyPy'"}