From a05811d7a79a24362784ae46ebc92de5fa0bf7d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 5 Jun 2024 12:07:58 +0000 Subject: [PATCH 1/2] Bump pytest from 8.1.1 to 8.2.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.1.1 to 8.2.2. - [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.1.1...8.2.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 18 +++++++++--------- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/poetry.lock b/poetry.lock index 70170835..dc7f2ce4 100644 --- a/poetry.lock +++ b/poetry.lock @@ -236,13 +236,13 @@ test = ["appdirs (==1.4.4)", "pytest (>=6)", "pytest-cov (>=2.7)", "pytest-mock [[package]] name = "pluggy" -version = "1.4.0" +version = "1.5.0" description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.8" files = [ - {file = "pluggy-1.4.0-py3-none-any.whl", hash = "sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981"}, - {file = "pluggy-1.4.0.tar.gz", hash = "sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"}, + {file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"}, + {file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"}, ] [package.extras] @@ -273,13 +273,13 @@ files = [ [[package]] name = "pytest" -version = "8.1.1" +version = "8.2.2" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.1.1-py3-none-any.whl", hash = "sha256:2a8386cfc11fa9d2c50ee7b2a57e7d898ef90470a7a34c4b949ff59662bb78b7"}, - {file = "pytest-8.1.1.tar.gz", hash = "sha256:ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044"}, + {file = "pytest-8.2.2-py3-none-any.whl", hash = "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343"}, + {file = "pytest-8.2.2.tar.gz", hash = "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"}, ] [package.dependencies] @@ -287,11 +287,11 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.4,<2.0" +pluggy = ">=1.5,<2.0" tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] [[package]] name = "pyyaml" @@ -385,4 +385,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "297c732186dbdacd0adcab4a313d6daf85c5721c8b6aa50dae054d59982225cc" +content-hash = "3a8cf71fa08ea692784524dc2a32cba3d8af5c72bc0a5a795dfc8720c4b120f0" diff --git a/pyproject.toml b/pyproject.toml index 29ae3705..f6ddb203 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ codespell = "^2.3.0" black = "^24.4" flake8 = "^7.0.0" pep8-naming = "^0.14.1" -pytest = "^8.1.1" +pytest = "^8.2.2" GitPython = "^3.1.43" [build-system] From 66c6ca9d004d43b6061ae33cb89374e46a8fa71b Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 5 Jun 2024 05:11:41 -0700 Subject: [PATCH 2/2] Update `pytest` version in template installation docs This is now the version used as standard in all Arduino Tooling projects, which the "template" is intended to be used with. --- workflow-templates/test-go-integration-task.md | 4 ++-- workflow-templates/test-python-poetry-task.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow-templates/test-go-integration-task.md b/workflow-templates/test-go-integration-task.md index fe797a56..7853be1c 100644 --- a/workflow-templates/test-go-integration-task.md +++ b/workflow-templates/test-go-integration-task.md @@ -35,14 +35,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="pytest@^8.1.1" --dev-dependency="invoke@^1.7.0" +poetry init --python="^3.9" --dev-dependency="pytest@^8.2.2" --dev-dependency="invoke@^1.7.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.1.1" "invoke@^1.7.0" +poetry add --dev "pytest@^8.2.2" "invoke@^1.7.0" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files. diff --git a/workflow-templates/test-python-poetry-task.md b/workflow-templates/test-python-poetry-task.md index 0b61f05c..62e4f37e 100644 --- a/workflow-templates/test-python-poetry-task.md +++ b/workflow-templates/test-python-poetry-task.md @@ -33,14 +33,14 @@ https://python-poetry.org/docs/#installation If your project does not already use Poetry, you can initialize the [`pyproject.toml`](https://python-poetry.org/docs/pyproject/) file using these commands: ``` -poetry init --python="^3.9" --dev-dependency="pytest@^8.1.0" +poetry init --python="^3.9" --dev-dependency="pytest@^8.2.2" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.1.0" +poetry add --dev "pytest@^8.2.2" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.