From 1093a64016e68cfc1c56e04e1c5ca20767105a2d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Jun 2025 16:21:36 +0000 Subject: [PATCH 1/2] Bump pytest from 8.3.5 to 8.4.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.3.5 to 8.4.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.3.5...8.4.0) --- updated-dependencies: - dependency-name: pytest dependency-version: 8.4.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 45 ++++++++++++++++++++++++++++++++------------- pyproject.toml | 2 +- 2 files changed, 33 insertions(+), 14 deletions(-) diff --git a/poetry.lock b/poetry.lock index ed642b8d..0368e29f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -95,17 +95,20 @@ files = [ [[package]] name = "exceptiongroup" -version = "1.0.0rc9" +version = "1.3.0" description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["dev"] markers = "python_version < \"3.11\"" files = [ - {file = "exceptiongroup-1.0.0rc9-py3-none-any.whl", hash = "sha256:2e3c3fc1538a094aab74fad52d6c33fc94de3dfee3ee01f187c0e0c72aec5337"}, - {file = "exceptiongroup-1.0.0rc9.tar.gz", hash = "sha256:9086a4a21ef9b31c72181c77c040a074ba0889ee56a7b289ff0afb0d97655f96"}, + {file = "exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10"}, + {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, ] +[package.dependencies] +typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} + [package.extras] test = ["pytest (>=6)"] @@ -291,28 +294,44 @@ files = [ {file = "pyflakes-3.3.1.tar.gz", hash = "sha256:8752eee11d4ef3a4be642d774863047864b47406cba906fabf8dd892cf98d5b3"}, ] +[[package]] +name = "pygments" +version = "2.19.1" +description = "Pygments is a syntax highlighting package written in Python." +optional = false +python-versions = ">=3.8" +groups = ["dev"] +files = [ + {file = "pygments-2.19.1-py3-none-any.whl", hash = "sha256:9ea1544ad55cecf4b8242fab6dd35a93bbce657034b0611ee383099054ab6d8c"}, + {file = "pygments-2.19.1.tar.gz", hash = "sha256:61c16d2a8576dc0649d9f39e089b5f02bcd27fba10d8fb4dcc28173f7a45151f"}, +] + +[package.extras] +windows-terminal = ["colorama (>=0.4.6)"] + [[package]] name = "pytest" -version = "8.3.5" +version = "8.4.0" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.8" +python-versions = ">=3.9" groups = ["dev"] files = [ - {file = "pytest-8.3.5-py3-none-any.whl", hash = "sha256:c69214aa47deac29fad6c2a4f590b9c4a9fdb16a403176fe154b79c0b4d4d820"}, - {file = "pytest-8.3.5.tar.gz", hash = "sha256:f4efe70cc14e511565ac476b57c279e12a855b11f48f212af1080ef2263d3845"}, + {file = "pytest-8.4.0-py3-none-any.whl", hash = "sha256:f40f825768ad76c0977cbacdf1fd37c6f7a468e460ea6a0636078f8972d4517e"}, + {file = "pytest-8.4.0.tar.gz", hash = "sha256:14d920b48472ea0dbf68e45b96cd1ffda4705f33307dcc86c676c1b5104838a6"}, ] [package.dependencies] -colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -iniconfig = "*" -packaging = "*" +colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} +iniconfig = ">=1" +packaging = ">=20" pluggy = ">=1.5,<2" +pygments = ">=2.7.2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} [package.extras] -dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] +dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "requests", "setuptools", "xmlschema"] [[package]] name = "pyyaml" @@ -413,4 +432,4 @@ dev = ["doc8", "flake8", "flake8-import-order", "rstcheck[sphinx]", "sphinx"] [metadata] lock-version = "2.1" python-versions = "^3.9" -content-hash = "27d818a8e8f74e6bfb712f02d7309714b3db92ddcdb67d21c99d625981ef77cc" +content-hash = "d683b916a87ca20107ddb69a05b8e5d78a2dbbb8e342aae955e8ed1bbdfaabdc" diff --git a/pyproject.toml b/pyproject.toml index 2f0e2d45..6150bfeb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ codespell = "^2.4.1" black = "^25.1" flake8 = "^7.2.0" pep8-naming = "^0.15.1" -pytest = "^8.3.5" +pytest = "^8.4.0" GitPython = "^3.1.44" [build-system] From d088a300f2d9233d83cf7ec45af714691a142f80 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 3 Jun 2025 15:49:59 -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 03d9faa5..bb04e076 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.3.5" --dev-dependency="invoke@^1.7.0" +poetry init --python="^3.9" --dev-dependency="pytest@^8.4.0" --dev-dependency="invoke@^1.7.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.3.5" "invoke@^1.7.0" +poetry add --dev "pytest@^8.4.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 aaca1b98..1fdc2484 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.3.5" +poetry init --python="^3.9" --dev-dependency="pytest@^8.4.0" poetry install ``` If already using Poetry, add the tool using this command: ``` -poetry add --dev "pytest@^8.3.5" +poetry add --dev "pytest@^8.4.0" ``` Commit the resulting `pyproject.toml` and `poetry.lock` files.