From 68fdcd9132d3b2522ed7c506a1461b3d5e000616 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:09:57 +0000 Subject: [PATCH] chore(deps-dev): bump the pytest group across 1 directory with 7 updates Bumps the pytest group with 7 updates in the /backend directory: | Package | From | To | | --- | --- | --- | | [pytest](https://github.com/pytest-dev/pytest) | `8.2.0` | `8.3.4` | | [pytest-cov](https://github.com/pytest-dev/pytest-cov) | `5.0.0` | `6.0.0` | | [pytest-django](https://github.com/pytest-dev/pytest-django) | `4.8.0` | `4.9.0` | | [pytest-env](https://github.com/pytest-dev/pytest-env) | `1.1.3` | `1.1.5` | | [pytest-factoryboy](https://github.com/pytest-dev/pytest-factoryboy) | `2.1.0` | `2.7.0` | | [pytest-randomly](https://github.com/pytest-dev/pytest-randomly) | `3.15.0` | `3.16.0` | | [pytest-freezer](https://github.com/pytest-dev/pytest-freezer) | `0.4.8` | `0.4.9` | Updates `pytest` from 8.2.0 to 8.3.4 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/8.2.0...8.3.4) Updates `pytest-cov` from 5.0.0 to 6.0.0 - [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-cov/compare/v5.0.0...v6.0.0) Updates `pytest-django` from 4.8.0 to 4.9.0 - [Release notes](https://github.com/pytest-dev/pytest-django/releases) - [Changelog](https://github.com/pytest-dev/pytest-django/blob/main/docs/changelog.rst) - [Commits](https://github.com/pytest-dev/pytest-django/compare/v4.8.0...v4.9.0) Updates `pytest-env` from 1.1.3 to 1.1.5 - [Release notes](https://github.com/pytest-dev/pytest-env/releases) - [Commits](https://github.com/pytest-dev/pytest-env/compare/1.1.3...1.1.5) Updates `pytest-factoryboy` from 2.1.0 to 2.7.0 - [Changelog](https://github.com/pytest-dev/pytest-factoryboy/blob/master/CHANGES.rst) - [Commits](https://github.com/pytest-dev/pytest-factoryboy/compare/2.1.0...2.7.0) Updates `pytest-randomly` from 3.15.0 to 3.16.0 - [Changelog](https://github.com/pytest-dev/pytest-randomly/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-randomly/compare/3.15.0...3.16.0) Updates `pytest-freezer` from 0.4.8 to 0.4.9 - [Release notes](https://github.com/pytest-dev/pytest-freezer/releases) - [Commits](https://github.com/pytest-dev/pytest-freezer/compare/0.4.8...0.4.9) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pytest - dependency-name: pytest-cov dependency-type: direct:development update-type: version-update:semver-major dependency-group: pytest - dependency-name: pytest-django dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pytest - dependency-name: pytest-env dependency-type: direct:development update-type: version-update:semver-patch dependency-group: pytest - dependency-name: pytest-factoryboy dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pytest - dependency-name: pytest-randomly dependency-type: direct:development update-type: version-update:semver-minor dependency-group: pytest - dependency-name: pytest-freezer dependency-type: direct:development update-type: version-update:semver-patch dependency-group: pytest ... Signed-off-by: dependabot[bot] --- backend/poetry.lock | 68 ++++++++++++++++++++++-------------------- backend/pyproject.toml | 14 ++++----- 2 files changed, 42 insertions(+), 40 deletions(-) diff --git a/backend/poetry.lock b/backend/poetry.lock index 76bb9000..aa7d430a 100644 --- a/backend/poetry.lock +++ b/backend/poetry.lock @@ -1482,37 +1482,37 @@ files = [ [[package]] name = "pytest" -version = "8.2.0" +version = "8.3.4" 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.4-py3-none-any.whl", hash = "sha256:50e16d954148559c9a74109af1eaf0c945ba2d8f30f0a3d3335edde19788b6f6"}, + {file = "pytest-8.3.4.tar.gz", hash = "sha256:965370d062bce11e73868e0335abac31b4d3de0e82f4007408d242b4f8610761"}, ] [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"] [[package]] name = "pytest-cov" -version = "5.0.0" +version = "6.0.0" description = "Pytest plugin for measuring coverage." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pytest-cov-5.0.0.tar.gz", hash = "sha256:5837b58e9f6ebd335b0f8060eecce69b662415b16dc503883a02f45dfeb14857"}, - {file = "pytest_cov-5.0.0-py3-none-any.whl", hash = "sha256:4f0764a1219df53214206bf1feea4633c3b558a2925c8b59f144f682861ce652"}, + {file = "pytest-cov-6.0.0.tar.gz", hash = "sha256:fde0b595ca248bb8e2d76f020b465f3b107c9632e6a1d1705f17834c89dcadc0"}, + {file = "pytest_cov-6.0.0-py3-none-any.whl", hash = "sha256:eee6f1b9e61008bd34975a4d5bab25801eb31898b032dd55addc93e96fcaaa35"}, ] [package.dependencies] -coverage = {version = ">=5.2.1", extras = ["toml"]} +coverage = {version = ">=7.5", extras = ["toml"]} pytest = ">=4.6" [package.extras] @@ -1520,13 +1520,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] @@ -1538,50 +1538,52 @@ 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" -version = "0.4.8" +version = "0.4.9" description = "Pytest plugin providing a fixture interface for spulec/freezegun" optional = false -python-versions = ">= 3.6" +python-versions = ">=3.6" files = [ - {file = "pytest_freezer-0.4.8-py3-none-any.whl", hash = "sha256:644ce7ddb8ba52b92a1df0a80a699bad2b93514c55cf92e9f2517b68ebe74814"}, - {file = "pytest_freezer-0.4.8.tar.gz", hash = "sha256:8ee2f724b3ff3540523fa355958a22e6f4c1c819928b78a7a183ae4248ce6ee6"}, + {file = "pytest_freezer-0.4.9-py3-none-any.whl", hash = "sha256:8b6c50523b7d4aec4590b52bfa5ff766d772ce506e2bf4846c88041ea9ccae59"}, + {file = "pytest_freezer-0.4.9.tar.gz", hash = "sha256:21bf16bc9cc46bf98f94382c4b5c3c389be7056ff0be33029111ae11b3f1c82a"}, ] [package.dependencies] -freezegun = ">=1.0" +freezegun = ">=1.1" pytest = ">=3.6" [[package]] @@ -1603,13 +1605,13 @@ dev = ["pre-commit", "pytest-asyncio", "tox"] [[package]] name = "pytest-randomly" -version = "3.15.0" +version = "3.16.0" description = "Pytest plugin to randomly order tests and control random.seed." optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" files = [ - {file = "pytest_randomly-3.15.0-py3-none-any.whl", hash = "sha256:0516f4344b29f4e9cdae8bce31c4aeebf59d0b9ef05927c33354ff3859eeeca6"}, - {file = "pytest_randomly-3.15.0.tar.gz", hash = "sha256:b908529648667ba5e54723088edd6f82252f540cc340d748d1fa985539687047"}, + {file = "pytest_randomly-3.16.0-py3-none-any.whl", hash = "sha256:8633d332635a1a0983d3bba19342196807f6afb17c3eef78e02c2f85dade45d6"}, + {file = "pytest_randomly-3.16.0.tar.gz", hash = "sha256:11bf4d23a26484de7860d82f726c0629837cf4064b79157bd18ec9d41d7feb26"}, ] [package.dependencies] @@ -1970,4 +1972,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "2d8252c18dad9c6ca605bf3a038aab7093fb721ac9a6ae8eae21852239cd0fa9" +content-hash = "ca640ddd8f5cca78c02e4d9bf5ea5a842143763c4cade376afeb60491c85bb06" diff --git a/backend/pyproject.toml b/backend/pyproject.toml index beefa414..f984ed02 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -53,18 +53,18 @@ django-extensions = "3.2.3" factory-boy = "3.3.1" ipdb = "0.13.13" pdbpp = "0.10.3" -pytest = "8.2.0" -pytest-cov = "5.0.0" -pytest-django = "4.8.0" -pytest-env = "1.1.3" +pytest = "8.3.4" +pytest-cov = "6.0.0" +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" +pytest-randomly = "3.16.0" requests-mock = "1.12.1" lxml = "5.3.0" syrupy = "^4.8.0" -pytest-freezer = "^0.4.8" +pytest-freezer = "^0.4.9" [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "timed.settings"