From 68bff665be9c57b980b5cac326040faf10ee0abc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 10:40:28 +0000 Subject: [PATCH 1/2] Bump pytest from 8.0.1 to 8.1.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.0.1 to 8.1.0. - [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.0.1...8.1.0) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 14 +++++++------- pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index ea3d1a77..a1674455 100644 --- a/poetry.lock +++ b/poetry.lock @@ -272,13 +272,13 @@ files = [ [[package]] name = "pytest" -version = "8.0.1" +version = "8.1.0" description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.8" files = [ - {file = "pytest-8.0.1-py3-none-any.whl", hash = "sha256:3e4f16fe1c0a9dc9d9389161c127c3edc5d810c38d6793042fb81d9f48a59fca"}, - {file = "pytest-8.0.1.tar.gz", hash = "sha256:267f6563751877d772019b13aacbe4e860d73fe8f651f28112e9ac37de7513ae"}, + {file = "pytest-8.1.0-py3-none-any.whl", hash = "sha256:ee32db7af8de4629a455806befa90559f307424c07b8413ccfc30bf5b221dd7e"}, + {file = "pytest-8.1.0.tar.gz", hash = "sha256:f8fa04ab8f98d185113ae60ea6d79c22f8143b14bc1caeced44a0ab844928323"}, ] [package.dependencies] @@ -286,11 +286,11 @@ colorama = {version = "*", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} iniconfig = "*" packaging = "*" -pluggy = ">=1.3.0,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} +pluggy = ">=1.4,<2.0" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] [[package]] name = "pyyaml" @@ -384,4 +384,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "686d2a21f4917e43e0400cc7b6521b557fbc182e97e270b8a9f8f6e4c60ae640" +content-hash = "1e3c481266e84ca1e67ce8ba7feb806abc0ef06529a5e59a516ed8e59310a18a" diff --git a/pyproject.toml b/pyproject.toml index 50866d7e..67bfa571 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ codespell = "^2.2.6" black = "^24.2" flake8 = "^7.0.0" pep8-naming = "^0.13.3" -pytest = "^8.0.1" +pytest = "^8.1.0" GitPython = "^3.1.42" [build-system] From 252525b153bd2acb780cfe8165a1dcbfc6c0859f Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 4 Mar 2024 03:30:59 -0800 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 377ca488..2db06401 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.0.0" --dev-dependency="invoke@^1.7.0" +poetry init --python="^3.9" --dev-dependency="pytest@^8.1.0" --dev-dependency="invoke@^1.7.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.0.0" "invoke@^1.7.0" +poetry add --dev "pytest@^8.1.0" "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 f0ad856a..0b61f05c 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.0.0" +poetry init --python="^3.9" --dev-dependency="pytest@^8.1.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.0.0" +poetry add --dev "pytest@^8.1.0" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.