From 45c8476e67b1bfd214d855efd9c5c86e357dc235 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Thu, 14 Dec 2023 16:13:55 +0100 Subject: fix(agent/release): Add gitpython as a direct dependency gitpython was installed as an indirect dependency via agbenchmark. The release builds don't contain agbenchmark and thus also lack the gitpython package, which breaks the image. --- autogpts/autogpt/poetry.lock | 10 +++++----- autogpts/autogpt/pyproject.toml | 6 +----- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/autogpts/autogpt/poetry.lock b/autogpts/autogpt/poetry.lock index 9a43f3c31..3666a0cde 100644 --- a/autogpts/autogpt/poetry.lock +++ b/autogpts/autogpt/poetry.lock @@ -1962,12 +1962,12 @@ files = [ google-auth = ">=2.14.1,<3.0.dev0" googleapis-common-protos = ">=1.56.2,<2.0.dev0" grpcio = [ - {version = ">=1.33.2,<2.0dev", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""}, {version = ">=1.49.1,<2.0dev", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""}, + {version = ">=1.33.2,<2.0dev", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""}, ] grpcio-status = [ - {version = ">=1.33.2,<2.0.dev0", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""}, {version = ">=1.49.1,<2.0.dev0", optional = true, markers = "python_version >= \"3.11\" and extra == \"grpc\""}, + {version = ">=1.33.2,<2.0.dev0", optional = true, markers = "python_version < \"3.11\" and extra == \"grpc\""}, ] protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0.dev0" requests = ">=2.18.0,<3.0.0.dev0" @@ -2100,8 +2100,8 @@ google-cloud-audit-log = ">=0.1.0,<1.0.0dev" google-cloud-core = ">=2.0.0,<3.0.0dev" grpc-google-iam-v1 = ">=0.12.4,<1.0.0dev" proto-plus = [ - {version = ">=1.22.0,<2.0.0dev", markers = "python_version < \"3.11\""}, {version = ">=1.22.2,<2.0.0dev", markers = "python_version >= \"3.11\""}, + {version = ">=1.22.0,<2.0.0dev", markers = "python_version < \"3.11\""}, ] protobuf = ">=3.19.5,<3.20.0 || >3.20.0,<3.20.1 || >3.20.1,<4.21.0 || >4.21.0,<4.21.1 || >4.21.1,<4.21.2 || >4.21.2,<4.21.3 || >4.21.3,<4.21.4 || >4.21.4,<4.21.5 || >4.21.5,<5.0.0dev" @@ -3845,9 +3845,9 @@ files = [ [package.dependencies] numpy = [ - {version = ">=1.22.4,<2", markers = "python_version < \"3.11\""}, {version = ">=1.23.2,<2", markers = "python_version == \"3.11\""}, {version = ">=1.26.0,<2", markers = "python_version >= \"3.12\""}, + {version = ">=1.22.4,<2", markers = "python_version < \"3.11\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -6721,4 +6721,4 @@ benchmark = ["agbenchmark"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "8e8a970b8f96e4bb31a2efec337d87422e9022e7e8739efdf38d0872b873ef58" +content-hash = "bd520cc56d67eb631b6a9569e18934c08c5d302761c589c74a4839a805039137" diff --git a/autogpts/autogpt/pyproject.toml b/autogpts/autogpt/pyproject.toml index 5c2bc3b12..df81c3b00 100644 --- a/autogpts/autogpt/pyproject.toml +++ b/autogpts/autogpt/pyproject.toml @@ -36,6 +36,7 @@ duckduckgo-search = "^4.0.0" en-core-web-sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.5.0/en_core_web_sm-3.5.0-py3-none-any.whl"} fastapi = "*" ftfy = "^6.1.1" +gitpython = "^3.1.32" google-api-python-client = "*" gTTS = "^2.3.1" hypercorn = "^0.14.4" @@ -140,16 +141,11 @@ extend_skip = [ follow_imports = 'skip' check_untyped_defs = true disallow_untyped_calls = true -disallow_untyped_defs = true files = [ 'autogpt/**/*.py', 'tests/**/*.py' ] -[[tool.mypy.overrides]] -module = 'tests.*' -disallow_untyped_defs = false - [[tool.mypy.overrides]] module = [ 'requests.*', -- cgit v1.2.3