From c880fe4259b660e33a041505327bd35eb34288d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 10:50:37 +0000 Subject: [PATCH 1/2] Bump pytest from 8.2.2 to 8.3.2 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.2 to 8.3.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.2.2...8.3.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index dc7f2ce4..875dae0e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.2 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 = "black" @@ -273,13 +273,13 @@ files = [ [[package]] name = "pytest" -version = "8.2.2" +version = "8.3.2" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.2.2-py3-none-any.whl", hash = "sha256:c434598117762e2bd304e526244f67bf66bbd7b5d6cf22138be51ff661980343"}, - {file = "pytest-8.2.2.tar.gz", hash = "sha256:de4bb8104e201939ccdc688b27a89a7be2079b22e2bd2b07f806b6ba71117977"}, + {file = "pytest-8.3.2-py3-none-any.whl", hash = "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5"}, + {file = "pytest-8.3.2.tar.gz", hash = "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce"}, ] [package.dependencies] @@ -287,7 +287,7 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.5,<2.0" +pluggy = ">=1.5,<2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] @@ -385,4 +385,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "3a8cf71fa08ea692784524dc2a32cba3d8af5c72bc0a5a795dfc8720c4b120f0" +content-hash = "6b80873228c6f8de2289b174cd18db50b30c642939173ab0765ba53bf3a72965" diff --git a/pyproject.toml b/pyproject.toml index f6ddb203..20ea844a 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.2.2" +pytest = "^8.3.2" GitPython = "^3.1.43" [build-system] From 7d2ef6034abcc8161c93ff2583959e8431444556 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 29 Jul 2024 00:00:23 -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 7853be1c..4c9c6b99 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.2.2" --dev-dependency="invoke@^1.7.0" +poetry init --python="^3.9" --dev-dependency="pytest@^8.3.2" --dev-dependency="invoke@^1.7.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.2.2" "invoke@^1.7.0" +poetry add --dev "pytest@^8.3.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 62e4f37e..eeef64e6 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.2.2" +poetry init --python="^3.9" --dev-dependency="pytest@^8.3.2" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.2.2" +poetry add --dev "pytest@^8.3.2" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.