diff --git a/backend/poetry.lock b/backend/poetry.lock index 9291e553..9563a302 100644 --- a/backend/poetry.lock +++ b/backend/poetry.lock @@ -1491,20 +1491,20 @@ files = [ [[package]] name = "pytest" -version = "8.2.0" +version = "8.3.3" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.2.0-py3-none-any.whl", hash = "sha256:1733f0620f6cda4095bbf0d9ff8022486e91892245bb9e7d5542c018f612f233"}, - {file = "pytest-8.2.0.tar.gz", hash = "sha256:d507d4482197eac0ba2bae2e9babf0672eb333017bcedaa5fb1a3d42c1174b3f"}, + {file = "pytest-8.3.3-py3-none-any.whl", hash = "sha256:a6853c7375b2663155079443d2e45de913a911a11d669df02a50814944db57b2"}, + {file = "pytest-8.3.3.tar.gz", hash = "sha256:70b98107bd648308a7952b06e6ca9a50bc660be218d53c257cc1fc94fda10181"}, ] [package.dependencies] colorama = {version = "*", markers = "sys_platform == \"win32\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.5,<2.0" +pluggy = ">=1.5,<2" [package.extras] dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] @@ -1529,13 +1529,13 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"] [[package]] name = "pytest-django" -version = "4.8.0" +version = "4.9.0" description = "A Django plugin for pytest." optional = false python-versions = ">=3.8" files = [ - {file = "pytest-django-4.8.0.tar.gz", hash = "sha256:5d054fe011c56f3b10f978f41a8efb2e5adfc7e680ef36fb571ada1f24779d90"}, - {file = "pytest_django-4.8.0-py3-none-any.whl", hash = "sha256:ca1ddd1e0e4c227cf9e3e40a6afc6d106b3e70868fd2ac5798a22501271cd0c7"}, + {file = "pytest_django-4.9.0-py3-none-any.whl", hash = "sha256:1d83692cb39188682dbb419ff0393867e9904094a549a7d38a3154d5731b2b99"}, + {file = "pytest_django-4.9.0.tar.gz", hash = "sha256:8bf7bc358c9ae6f6fc51b6cebb190fe20212196e6807121f11bd6a3b03428314"}, ] [package.dependencies] @@ -1547,36 +1547,38 @@ testing = ["Django", "django-configurations (>=2.0)"] [[package]] name = "pytest-env" -version = "1.1.3" +version = "1.1.5" description = "pytest plugin that allows you to add environment variables." optional = false python-versions = ">=3.8" files = [ - {file = "pytest_env-1.1.3-py3-none-any.whl", hash = "sha256:aada77e6d09fcfb04540a6e462c58533c37df35fa853da78707b17ec04d17dfc"}, - {file = "pytest_env-1.1.3.tar.gz", hash = "sha256:fcd7dc23bb71efd3d35632bde1bbe5ee8c8dc4489d6617fb010674880d96216b"}, + {file = "pytest_env-1.1.5-py3-none-any.whl", hash = "sha256:ce90cf8772878515c24b31cd97c7fa1f4481cd68d588419fd45f10ecaee6bc30"}, + {file = "pytest_env-1.1.5.tar.gz", hash = "sha256:91209840aa0e43385073ac464a554ad2947cc2fd663a9debf88d03b01e0cc1cf"}, ] [package.dependencies] -pytest = ">=7.4.3" +pytest = ">=8.3.3" [package.extras] -test = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "pytest-mock (>=3.12)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.6.1)", "pytest-mock (>=3.14)"] [[package]] name = "pytest-factoryboy" -version = "2.1.0" +version = "2.7.0" description = "Factory Boy support for pytest." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "pytest-factoryboy-2.1.0.tar.gz", hash = "sha256:23bc562ab32cc39eddfbbbf70e618a1b30e834a4cfa451c4bedc36216f0a7b19"}, - {file = "pytest_factoryboy-2.1.0-py3-none-any.whl", hash = "sha256:10c02d2736cb52c7af28065db9617e7f50634e95eaa07eeb9a007026aa3dc0a8"}, + {file = "pytest_factoryboy-2.7.0-py3-none-any.whl", hash = "sha256:bf3222db22d954fbf46f4bff902a0a8d82f3fc3594a47c04bbdc0546ff4c59a6"}, + {file = "pytest_factoryboy-2.7.0.tar.gz", hash = "sha256:67fc54ec8669a3feb8ac60094dd57cd71eb0b20b2c319d2957873674c776a77b"}, ] [package.dependencies] -factory-boy = ">=2.10.0" +factory_boy = ">=2.10.0" inflection = "*" -pytest = ">=4.6" +packaging = "*" +pytest = ">=6.2" +typing_extensions = "*" [[package]] name = "pytest-freezer" @@ -1976,4 +1978,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "16716108075f4f3986f0eea5e591cd1c964558af9717979094d7305f9f6eb2fc" +content-hash = "12aa40a32061c023a098e456b6e39ff1a96a72f01ba49b5e770a34ba7804cc8c" diff --git a/backend/pyproject.toml b/backend/pyproject.toml index 5eca64ce..a6399e87 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -53,12 +53,12 @@ django-extensions = "3.2.3" factory-boy = "3.3.1" ipdb = "0.13.13" pdbpp = "0.10.3" -pytest = "8.2.0" +pytest = "8.3.3" pytest-cov = "5.0.0" -pytest-django = "4.8.0" -pytest-env = "1.1.3" +pytest-django = "4.9.0" +pytest-env = "1.1.5" # needs to stay at 2.1.0 because of wrong interpretation of parameters with "__" -pytest-factoryboy = "2.1.0" +pytest-factoryboy = "2.7.0" pytest-mock = "3.14.0" pytest-randomly = "3.15.0" requests-mock = "1.12.1"