8000 mypy presubmit fails at HEAD with `mypy==1.15` · Issue #799 · googleapis/python-api-core · GitHub
[go: up one dir, main page]

Skip to content
mypy presubmit fails at HEAD with mypy==1.15 #799
Closed
@parthea

Description

@parthea

The mypy nox session started failing on February 4th with mypy==1.15.0 https://pypi.org/project/mypy/1.15.0/

partheniou@partheniou-vm-3:~/git/python-api-core$ nox -s mypy
nox > Running session mypy
nox > Creating virtual environment (virtualenv) using python3.10 in .nox/mypy
nox > python -m pip install '.[grpc,async_rest]' mypy
nox > python -m pip install types-setuptools types-requests types-protobuf types-dataclasses 'types-mock; python_version=='"'"'3.7'"'"''
nox > mypy google tests
pyproject.toml: [mypy]: python_version: Python 3.7 is not supported (must be 3.8 or higher)
google/api_core/retry/retry_streaming_async.py:65: error: ParamSpec components are not allowed here  [valid-type]
google/api_core/retry/retry_streaming_async.py:66: error: ParamSpec components are not allowed here  [valid-type]
google/api_core/retry/retry_streaming.py:62: error: ParamSpec components are not allowed here  [valid-type]
google/api_core/retry/retry_streaming.py:63: error: ParamSpec components are not allowed here  [valid-type]
Found 4 errors in 2 files (checked 110 source files)
nox > Command mypy google tests failed with exit code 1
nox > Session mypy failed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0