diff --git a/noxfile.py b/noxfile.py index 18688b6d..f468ae8d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -2,10 +2,8 @@ @nox.session() -@nox.parametrize("django", ["4.1", "4.2", "5.0"]) -def tests(session, django): +def tests(session): session.install("poetry") session.run("poetry", "install", "-E", "minify") - session.install(f"django=={django}") session.run("pytest", "-m", "not slow") session.run("pytest", "-m", "slow") diff --git a/poetry.lock b/poetry.lock index fa3f346d..296d4d57 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.6.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "alabaster" @@ -546,6 +546,26 @@ tzdata = {version = "*", markers = "sys_platform == \"win32\""} argon2 = ["argon2-cffi (>=19.1.0)"] bcrypt = ["bcrypt"] +[[package]] +name = "django" +version = "5.0.7" +description = "A high-level Python web framework that encourages rapid development and clean, pragmatic design." +optional = false +python-versions = ">=3.10" +files = [ + {file = "Django-5.0.7-py3-none-any.whl", hash = "sha256:f216510ace3de5de01329463a315a629f33480e893a9024fc93d8c32c22913da"}, + {file = "Django-5.0.7.tar.gz", hash = "sha256:bd4505cae0b9bd642313e8fb71810893df5dc2ffcacaa67a33af2d5cd61888f2"}, +] + +[package.dependencies] +asgiref = ">=3.7.0,<4" +sqlparse = ">=0.3.1" +tzdata = {version = "*", markers = "sys_platform == \"win32\""} + +[package.extras] +argon2 = ["argon2-cffi (>=19.1.0)"] +bcrypt = ["bcrypt"] + [[package]] name = "django-mock-queries" version = "2.2.0" @@ -2292,4 +2312,4 @@ minify = ["htmlmin"] [metadata] lock-version = "2.0" python-versions = ">=3.8,<4" -content-hash = "b9036760f85a9b0d088f5b01013a0c61a5c3b337c20a62093d958bc6d654aa67" +content-hash = "9877c72e9ef1b3ab49248586734d1b6f511c216827032bdfdfb88cae59b54c22" diff --git a/pyproject.toml b/pyproject.toml index 7dcca7ec..edb01806 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,8 @@ keywords = ["django", "python", "javascript", "fullstack"] [tool.poetry.dependencies] python = ">=3.8,<4" -django = ">=2.2" +django = [{version = "<=5.0", python = "<3.10"}, + {version = "^5.0", python=">=3.10"}] beautifulsoup4 = ">=4.8.0" orjson = ">=3.6.0" shortuuid = ">=1.0.1"