diff --git a/lib/galaxy/dependencies/pinned-typecheck-requirements.txt b/lib/galaxy/dependencies/pinned-typecheck-requirements.txt index 45c2ad37343e..54ad2df648bc 100644 --- a/lib/galaxy/dependencies/pinned-typecheck-requirements.txt +++ b/lib/galaxy/dependencies/pinned-typecheck-requirements.txt @@ -8,7 +8,7 @@ cryptography==42.0.8 ; python_version >= "3.8" and python_version < "3.13" lxml-stubs==0.5.1 ; python_version >= "3.8" and python_version < "3.13" mypy-boto3-s3==1.34.138 ; python_version >= "3.8" and python_version < "3.13" mypy-extensions==1.0.0 ; python_version >= "3.8" and python_version < "3.13" -mypy==1.10.1 ; python_version >= "3.8" and python_version < "3.13" +mypy==1.11.2 ; python_version >= "3.8" and python_version < "3.13" pycparser==2.22 ; python_version >= "3.8" and python_version < "3.13" and platform_python_implementation != "PyPy" pydantic-core==2.20.1 ; python_version >= "3.8" and python_version < "3.13" pydantic==2.8.2 ; python_version >= "3.8" and python_version < "3.13" diff --git a/lib/galaxy/util/__init__.py b/lib/galaxy/util/__init__.py index c3384d5c4782..1b0ec302fb71 100644 --- a/lib/galaxy/util/__init__.py +++ b/lib/galaxy/util/__init__.py @@ -1133,7 +1133,7 @@ def commaify(amount): @overload -def unicodify( # type: ignore[overload-overlap] # ignore can be removed in mypy >=1.11.0 +def unicodify( value: Literal[None], encoding: str = DEFAULT_ENCODING, error: str = "replace",