From 89a264f00a52413b35855f100b01cd198ba479e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 13:43:28 +0000 Subject: [PATCH 1/2] Bump pyparsing from 3.1.4 to 3.2.0 Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.1.4 to 3.2.0. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/3.1.4...3.2.0) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- poetry.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index f81d6876..c0eb7a12 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1282,13 +1282,13 @@ windows-terminal = ["colorama (>=0.4.6)"] [[package]] name = "pyparsing" -version = "3.1.4" +version = "3.2.0" description = "pyparsing module - Classes and methods to define and execute parsing grammars" optional = false -python-versions = ">=3.6.8" +python-versions = ">=3.9" files = [ - {file = "pyparsing-3.1.4-py3-none-any.whl", hash = "sha256:a6a7ee4235a3f944aa1fa2249307708f893fe5717dc603503c6c7969c070fb7c"}, - {file = "pyparsing-3.1.4.tar.gz", hash = "sha256:f86ec8d1a83f11977c9a6ea7598e8c27fc5cddfa5b07ea2241edbbde1d7bc032"}, + {file = "pyparsing-3.2.0-py3-none-any.whl", hash = "sha256:93d9577b88da0bbea8cc8334ee8b918ed014968fd2ec383e868fb8afb1ccef84"}, + {file = "pyparsing-3.2.0.tar.gz", hash = "sha256:cbf74e27246d595d9a74b186b810f6fbb86726dbf3b9532efb343f6d7294fe9c"}, ] [package.extras] From 011a41f7804539054e315cd6b9b09f6df0a33f26 Mon Sep 17 00:00:00 2001 From: Doug Addy Date: Wed, 16 Oct 2024 09:08:48 +0100 Subject: [PATCH 2/2] Update _util.py --- src/ansys/openapi/common/_util.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ansys/openapi/common/_util.py b/src/ansys/openapi/common/_util.py index 4f78d670..d6455eb0 100644 --- a/src/ansys/openapi/common/_util.py +++ b/src/ansys/openapi/common/_util.py @@ -137,9 +137,7 @@ def __init__(self) -> None: value = pp.quotedString.setParseAction(pp.removeQuotes) name_value_pair = name + pp.Suppress("=") + value - # MYPY issue https://github.com/python/mypy/issues/12563 seems to bite us here - # It confuses Typing.Dict with pyparsing.core.Dict which means mypy gets confused - params = pp.Dict(pp.delimitedList(pp.Group(name_value_pair))) # type: ignore[call-overload] + params = pp.Dict(pp.delimitedList(pp.Group(name_value_pair))) credentials = token + (params ^ token68) ^ token