Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mypy presubmit fails at HEAD with mypy==1.15 #799

Copy link
Copy link
Closed
@parthea

Description

@parthea
Issue body actions

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

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.