From 9cfc1f7c97d86483acac8ff1e721257d631f9d5d Mon Sep 17 00:00:00 2001 From: Patrick Arminio Date: Fri, 14 Jul 2023 16:20:51 +0100 Subject: [PATCH] Missing deps --- noxfile.py | 4 ++-- poetry.lock | 13 ++++++++++++- pyproject.toml | 1 + 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/noxfile.py b/noxfile.py index fa26220806..5bc13f7243 100644 --- a/noxfile.py +++ b/noxfile.py @@ -122,7 +122,7 @@ def test_pydantic(session: Session, pydantic: str) -> None: @session(python=PYTHON_VERSIONS, name="Mypy tests") def tests_mypy(session: Session) -> None: - session.run_always("poetry", "install", external=True) + session.run_always("poetry", "install", "--with", "integrations", external=True) session.run( "pytest", @@ -151,6 +151,6 @@ def tests_pyright(session: Session) -> None: @session(name="Mypy", tags=["lint"]) def mypy(session: Session) -> None: - session.run_always("poetry", "install", external=True) + session.run_always("poetry", "install", "--with", "integrations", external=True) session.run("mypy", "--config-file", "mypy.ini") diff --git a/poetry.lock b/poetry.lock index d88cbec3d6..1bf22a0472 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3257,6 +3257,17 @@ files = [ {file = "types_freezegun-1.1.10-py3-none-any.whl", hash = "sha256:fadebe72213e0674036153366205038e1f95c8ca96deb4ef9b71ddc15413543e"}, ] +[[package]] +name = "types-protobuf" +version = "4.23.0.1" +description = "Typing stubs for protobuf" +optional = false +python-versions = "*" +files = [ + {file = "types-protobuf-4.23.0.1.tar.gz", hash = "sha256:7bd5ea122a057b11a82b785d9de464932a1e9175fe977a4128adef11d7f35547"}, + {file = "types_protobuf-4.23.0.1-py3-none-any.whl", hash = "sha256:c926104f69ea62103846681b35b690d8d100ecf86c6cdda16c850a1313a272e4"}, +] + [[package]] name = "types-python-dateutil" version = "2.8.19.13" @@ -3887,4 +3898,4 @@ starlite = ["starlite"] [metadata] lock-version = "2.0" python-versions = "^3.7" -content-hash = "f081d4c024a2f717edd0a93e7641222661a39aad2b93b7d98fd8caab0ff2b710" +content-hash = "a89864123184a6f7ee513054910c81c01fea2ee135942275bc0ee8cb1112d2b9" diff --git a/pyproject.toml b/pyproject.toml index 36d0c1763c..642ddf2c5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,6 +100,7 @@ types-ujson = "^5.6.0" botocore = "1.29.124" mypy = "1.3.0" pytest-mypy-plugins = "^1.10" +types-protobuf = "^4.23.0.1" [tool.poetry.group.integrations] optional = true