Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fix AutoGPT docker build

Reinier van der Leer2fc7c62a3604
diff --git a/autogpts/forge/poetry.lock b/autogpts/forge/poetry.lock
index f2c24b409b..62d4213ac0 100644
--- a/autogpts/forge/poetry.lock
+++ b/autogpts/forge/poetry.lock
@@ -4,7 +4,7 @@
name = "agbenchmark"
version = "0.0.10"
description = "Benchmarking the performance of agents far and wide, regardless of how they are set up and how they work"
-optional = false
+optional = true
python-versions = "^3.10"
files = []
develop = false
@@ -207,7 +207,7 @@ files = [
name = "appnope"
version = "0.1.3"
description = "Disable App Nap on macOS >= 10.9"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "appnope-0.1.3-py2.py3-none-any.whl", hash = "sha256:265a455292d0bd8a72453494fa24df5a11eb18373a60c7c0430889f22548605e"},
@@ -218,7 +218,7 @@ files = [
name = "asttokens"
version = "2.4.0"
description = "Annotate AST trees with source code positions"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "asttokens-2.4.0-py2.py3-none-any.whl", hash = "sha256:cf8fc9e61a86461aa9fb161a14a0841a03c405fa829ac6b202670b3495d2ce69"},
@@ -279,7 +279,7 @@ tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""}
name = "backcall"
version = "0.2.0"
description = "Specifications for callback functions passed in to an API"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "backcall-0.2.0-py2.py3-none-any.whl", hash = "sha256:fbbce6a29f263178a1f7915c1940bde0ec2b2a967566fe1c65c1dfb7422bd255"},
@@ -851,7 +851,7 @@ development = ["black", "flake8", "mypy", "pytest", "types-colorama"]
name = "contourpy"
version = "1.1.0"
description = "Python library for calculating contours of 2D quadrilateral grids"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "contourpy-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:89f06eff3ce2f4b3eb24c1055a26981bffe4e7264acd86f15b97e40530b794bc"},
@@ -909,7 +909,7 @@ test-no-images = ["pytest", "pytest-cov", "wurlitzer"]
name = "contourpy"
version = "1.1.1"
description = "Python library for calculating contours of 2D quadrilateral grids"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "contourpy-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:46e24f5412c948d81736509377e255f6040e94216bf1a9b5ea1eaa9d29f6ec1b"},
@@ -980,7 +980,7 @@ test-no-images = ["pytest", "pytest-cov", "wurlitzer"]
name = "cycler"
version = "0.12.1"
description = "Composable style cycles"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30"},
@@ -995,7 +995,7 @@ tests = ["pytest", "pytest-cov", "pytest-xdist"]
name = "decorator"
version = "5.1.1"
description = "Decorators for Humans"
-optional = false
+optional = true
python-versions = ">=3.5"
files = [
{file = "decorator-5.1.1-py3-none-any.whl", hash = "sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186"},
@@ -1048,7 +1048,7 @@ test = ["pytest (>=6)"]
name = "executing"
version = "2.0.0"
description = "Get the currently executing AST node of a frame, and other information"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "executing-2.0.0-py2.py3-none-any.whl", hash = "sha256:06df6183df67389625f4e763921c6cf978944721abf3e714000200aab95b0657"},
@@ -1124,7 +1124,7 @@ files = [
name = "fonttools"
version = "4.43.1"
description = "Tools to manipulate font files"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "fonttools-4.43.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:bf11e2cca121df35e295bd34b309046c29476ee739753bc6bc9d5050de319273"},
@@ -1294,7 +1294,7 @@ tqdm = ["tqdm"]
name = "gitdb"
version = "4.0.10"
description = "Git Object Database"
-optional = false
+optional = true
python-versions = ">=3.7"
files = [
{file = "gitdb-4.0.10-py3-none-any.whl", hash = "sha256:c286cf298426064079ed96a9e4a9d39e7f3e9bf15ba60701e95f5492f28415c7"},
@@ -1308,7 +1308,7 @@ smmap = ">=3.0.1,<6"
name = "gitpython"
version = "3.1.38"
description = "GitPython is a Python library used to interact with Git repositories"
-optional = false
+optional = true
python-versions = ">=3.7"
files = [
{file = "GitPython-3.1.38-py3-none-any.whl", hash = "sha256:9e98b672ffcb081c2c8d5aa630d4251544fb040fb158863054242f24a2a2ba30"},
@@ -1493,7 +1493,7 @@ hyperframe = ">=6.0,<7"
name = "helicone"
version = "1.0.12"
description = "A Python wrapper for the OpenAI API that logs all requests to Helicone."
-optional = false
+optional = true
python-versions = ">=3.8.1"
files = [
{file = "helicone-1.0.12-py3-none-any.whl", hash = "sha256:5971c2ca310de925f5c6746e0f90f28699b0666e8603fd3f2dfa21acf8712293"},
@@ -1744,7 +1744,7 @@ files = [
name = "ipython"
version = "8.16.1"
description = "IPython: Productive Interactive Computing"
-optional = false
+optional = true
python-versions = ">=3.9"
files = [
{file = "ipython-8.16.1-py3-none-any.whl", hash = "sha256:0852469d4d579d9cd613c220af7bf0c9cc251813e12be647cb9d463939db9b1e"},
@@ -1800,7 +1800,7 @@ requirements-deprecated-finder = ["pip-api", "pipreqs"]
name = "jedi"
version = "0.19.1"
description = "An autocompletion tool for Python that can be used for text editors."
-optional = false
+optional = true
python-versions = ">=3.6"
files = [
{file = "jedi-0.19.1-py2.py3-none-any.whl", hash = "sha256:e983c654fe5c02867aef4cdfce5a2fbb4a50adc0af145f70504238f18ef5e7e0"},
@@ -1836,7 +1836,7 @@ i18n = ["Babel (>=2.7)"]
name = "jsonpickle"
version = "3.0.2"
description = "Python library for serializing any arbitrary object graph into JSON"
-optional = false
+optional = true
python-versions = ">=3.7"
files = [
{file = "jsonpickle-3.0.2-py3-none-any.whl", hash = "sha256:4a8442d97ca3f77978afa58068768dba7bff2dbabe79a9647bc3cdafd4ef019f"},
@@ -1852,7 +1852,7 @@ testing-libs = ["simplejson", "ujson"]
name = "kiwisolver"
version = "1.4.5"
description = "A fast implementation of the Cassowary constraint solver"
-optional = false
+optional = true
python-versions = ">=3.7"
files = [
{file = "kiwisolver-1.4.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:05703cf211d585109fcd72207a31bb170a0f22144d68298dc5e61b3c946518af"},
@@ -1986,7 +1986,7 @@ tokenizers = "*"
name = "lockfile"
version = "0.12.2"
description = "Platform-independent file locking module"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "lockfile-0.12.2-py2.py3-none-any.whl", hash = "sha256:6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa"},
@@ -2173,7 +2173,7 @@ files = [
name = "matplotlib"
version = "3.8.0"
description = "Python plotting package"
-optional = false
+optional = true
python-versions = ">=3.9"
files = [
{file = "matplotlib-3.8.0-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:c4940bad88a932ddc69734274f6fb047207e008389489f2b6f77d9ca485f0e7a"},
@@ -2222,7 +2222,7 @@ setuptools_scm = ">=7"
name = "matplotlib-inline"
version = "0.1.6"
description = "Inline Matplotlib backend for Jupyter"
-optional = false
+optional = true
python-versions = ">=3.5"
files = [
{file = "matplotlib-inline-0.1.6.tar.gz", hash = "sha256:f887e5f10ba98e8d2b150ddcf4702c1e5f8b3a20005eb0f74bfdbd360ee6f304"},
@@ -2431,7 +2431,7 @@ files = [
name = "networkx"
version = "3.1"
description = "Python package for creating and manipulating graphs and networks"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "networkx-3.1-py3-none-any.whl", hash = "sha256:4f33f68cb2afcf86f28a45f43efc27a9386b535d567d2127f8f61d51dec58d36"},
@@ -2596,7 +2596,7 @@ files = [
name = "pandas"
version = "2.1.0"
description = "Powerful data structures for data analysis, time series, and statistics"
-optional = false
+optional = true
python-versions = ">=3.9"
files = [
{file = "pandas-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:40dd20439ff94f1b2ed55b393ecee9cb6f3b08104c2c40b0cb7186a2f0046242"},
@@ -2654,7 +2654,7 @@ xml = ["lxml (>=4.8.0)"]
name = "pandas"
version = "2.1.1"
description = "Powerful data structures for data analysis, time series, and statistics"
-optional = false
+optional = true
python-versions = ">=3.9"
files = [
{file = "pandas-2.1.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:58d997dbee0d4b64f3cb881a24f918b5f25dd64ddf31f467bb9b67ae4c63a1e4"},
@@ -2721,7 +2721,7 @@ xml = ["lxml (>=4.8.0)"]
name = "parso"
version = "0.8.3"
description = "A Python Parser"
-optional = false
+optional = true
python-versions = ">=3.6"
files = [
{file = "parso-0.8.3-py2.py3-none-any.whl", hash = "sha256:c001d4636cd3aecdaf33cbb40aebb59b094be2a74c556778ef5576c175e19e75"},
@@ -2747,7 +2747,7 @@ files = [
name = "pexpect"
version = "4.8.0"
description = "Pexpect allows easy control of interactive console applications."
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "pexpect-4.8.0-py2.py3-none-any.whl", hash = "sha256:0b48a55dcb3c05f3329815901ea4fc1537514d6ba867a152b581d69ae3710937"},
@@ -2761,7 +2761,7 @@ ptyprocess = ">=0.5"
name = "pickleshare"
version = "0.7.5"
description = "Tiny 'shelve'-like database with concurrency support"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "pickleshare-0.7.5-py2.py3-none-any.whl", hash = "sha256:9649af414d74d4df115d5d718f82acb59c9d418196b7b4290ed47a12ce62df56"},
@@ -2772,7 +2772,7 @@ files = [
name = "pillow"
version = "10.1.0"
description = "Python Imaging Library (Fork)"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "Pillow-10.1.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:1ab05f3db77e98f93964697c8efc49c7954b08dd61cff526b7f2531a22410106"},
@@ -2910,7 +2910,7 @@ virtualenv = ">=20.10.0"
name = "prompt-toolkit"
version = "3.0.39"
description = "Library for building powerful interactive command lines in Python"
-optional = false
+optional = true
python-versions = ">=3.7.0"
files = [
{file = "prompt_toolkit-3.0.39-py3-none-any.whl", hash = "sha256:9dffbe1d8acf91e3de75f3b544e4842382fc06c6babe903ac9acb74dc6e08d88"},
@@ -2946,7 +2946,7 @@ files = [
name = "psutil"
version = "5.9.6"
description = "Cross-platform lib for process and system monitoring in Python."
-optional = false
+optional = true
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
files = [
{file = "psutil-5.9.6-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:fb8a697f11b0f5994550555fcfe3e69799e5b060c8ecf9e2f75c69302cc35c0d"},
@@ -2974,7 +2974,7 @@ test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"]
name = "ptyprocess"
version = "0.7.0"
description = "Run a subprocess in a pseudo terminal"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "ptyprocess-0.7.0-py2.py3-none-any.whl", hash = "sha256:4b41f3967fce3af57cc7e94b888626c18bf37a083e3651ca8feeb66d492fef35"},
@@ -3032,7 +3032,7 @@ functions = ["apache-bookkeeper-client (>=4.16.1)", "grpcio (>=1.8.2)", "prometh
name = "pure-eval"
version = "0.2.2"
description = "Safely evaluate AST nodes without side effects"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "pure_eval-0.2.2-py3-none-any.whl", hash = "sha256:01eaab343580944bc56080ebe0a674b39ec44a945e6d09ba7db3cb8cec289350"},
@@ -3141,7 +3141,7 @@ files = [
name = "pygments"
version = "2.16.1"
description = "Pygments is a syntax highlighting package written in Python."
-optional = false
+optional = true
python-versions = ">=3.7"
files = [
{file = "Pygments-2.16.1-py3-none-any.whl", hash = "sha256:13fc09fa63bc8d8671a6d247e1eb303c4b343eaee81d861f3404db2935653692"},
@@ -3155,7 +3155,7 @@ plugins = ["importlib-metadata"]
name = "pyhumps"
version = "3.8.0"
description = "🐫 Convert strings (and dictionary keys) between snake case, camel case and pascal case in Python. Inspired by Humps for Node"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "pyhumps-3.8.0-py3-none-any.whl", hash = "sha256:060e1954d9069f428232a1adda165db0b9d8dfdce1d265d36df7fbff540acfd6"},
@@ -3166,7 +3166,7 @@ files = [
name = "pyparsing"
version = "3.1.1"
description = "pyparsing module - Classes and methods to define and execute parsing grammars"
-optional = false
+optional = true
python-versions = ">=3.6.8"
files = [
{file = "pyparsing-3.1.1-py3-none-any.whl", hash = "sha256:32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb"},
@@ -3295,7 +3295,7 @@ dev = ["atomicwrites (==1.2.1)", "attrs (==19.2.0)", "coverage (==6.5.0)", "hatc
name = "pytz"
version = "2023.3.post1"
description = "World timezone definitions, modern and historical"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "pytz-2023.3.post1-py2.py3-none-any.whl", hash = "sha256:ce42d816b81b68506614c11e8937d3aa9e41007ceb50bfdcb0749b921bf646c7"},
@@ -3306,7 +3306,7 @@ files = [
name = "pyvis"
version = "0.3.2"
description = "A Python network graph visualization library"
-optional = false
+optional = true
python-versions = ">3.6"
files = [
{file = "pyvis-0.3.2-py3-none-any.whl", hash = "sha256:5720c4ca8161dc5d9ab352015723abb7a8bb8fb443edeb07f7a322db34a97555"},
@@ -3532,7 +3532,7 @@ testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jar
name = "setuptools-scm"
version = "8.0.4"
description = "the blessed package to manage your versions by scm tags"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "setuptools-scm-8.0.4.tar.gz", hash = "sha256:b5f43ff6800669595193fd09891564ee9d1d7dcb196cab4b2506d53a2e1c95c7"},
@@ -3565,7 +3565,7 @@ files = [
name = "smmap"
version = "5.0.1"
description = "A pure Python implementation of a sliding window memory map manager"
-optional = false
+optional = true
python-versions = ">=3.7"
files = [
{file = "smmap-5.0.1-py3-none-any.whl", hash = "sha256:e6d8668fa5f93e706934a62d7b4db19c8d9eb8cf2adbb75ef1b675aa332b69da"},
@@ -3706,7 +3706,7 @@ sqlcipher = ["sqlcipher3-binary"]
name = "stack-data"
version = "0.6.3"
description = "Extract data from python stack frames and tracebacks for informative displays"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "stack_data-0.6.3-py3-none-any.whl", hash = "sha256:d5558e0c25a4cb0853cddad3d77da9891a08cb85dd9f9f91b9f8cd66e511e695"},
@@ -3972,7 +3972,7 @@ telegram = ["requests"]
name = "traitlets"
version = "5.11.2"
description = "Traitlets Python configuration system"
-optional = false
+optional = true
python-versions = ">=3.8"
files = [
{file = "traitlets-5.11.2-py3-none-any.whl", hash = "sha256:98277f247f18b2c5cabaf4af369187754f4fb0e85911d473f72329db8a7f4fae"},
@@ -4069,7 +4069,7 @@ files = [
name = "tzdata"
version = "2023.3"
description = "Provider of IANA time zone data"
-optional = false
+optional = true
python-versions = ">=2"
files = [
{file = "tzdata-2023.3-py2.py3-none-any.whl", hash = "sha256:7e65763eef3120314099b6939b5546db7adce1e7d6f2e179e3df563c70511eda"},
@@ -4078,13 +4078,13 @@ files = [
[[package]]
name = "urllib3"
-version = "2.0.6"
+version = "2.0.7"
description = "HTTP library with thread-safe connection pooling, file post, and more."
optional = false
python-versions = ">=3.7"
files = [
- {file = "urllib3-2.0.6-py3-none-any.whl", hash = "sha256:7a7c7003b000adf9e7ca2a377c9688bbc54ed41b985789ed576570342a375cd2"},
- {file = "urllib3-2.0.6.tar.gz", hash = "sha256:b19e1a85d206b56d7df1d5e683df4a7725252a964e3993648dd0fb5a1c157564"},
+ {file = "urllib3-2.0.7-py3-none-any.whl", hash = "sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e"},
+ {file = "urllib3-2.0.7.tar.gz", hash = "sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84"},
]
[package.dependencies]
@@ -4321,7 +4321,7 @@ anyio = ">=3.0.0"
name = "wcwidth"
version = "0.2.8"
description = "Measures the displayed width of unicode strings in a terminal"
-optional = false
+optional = true
python-versions = "*"
files = [
{file = "wcwidth-0.2.8-py2.py3-none-any.whl", hash = "sha256:77f719e01648ed600dfa5402c347481c0992263b81a027344f3e1ba25493a704"},
@@ -4523,7 +4523,10 @@ files = [
docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"]
testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"]
+[extras]
+benchmark = ["agbenchmark"]
+
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
-content-hash = "e37ee4cdb2b4d4e1472649b395aa6792357949ef881b7d3b12f0a01cb2e61946"
+content-hash = "c1934981d2caddadbd4e16da8de706e6ec9812d8b49f0bf6f9c520e0e3050cb1"
diff --git a/autogpts/forge/pyproject.toml b/autogpts/forge/pyproject.toml
index b17dd56673..721412895e 100644
--- a/autogpts/forge/pyproject.toml
+++ b/autogpts/forge/pyproject.toml
@@ -24,6 +24,10 @@ litellm = "^0.1.821"
duckduckgo-search = "^3.8.0"
selenium = "^4.13.0"
bs4 = "^0.0.1"
+agbenchmark = { path = "../../benchmark", optional = true }
+
+[tool.poetry.extras]
+benchmark = ["agbenchmark"]
[tool.poetry.group.dev.dependencies]
isort = "^5.12.0"
@@ -39,9 +43,6 @@ mock = "^5.1.0"
autoflake = "^2.2.0"
pydevd-pycharm = "^233.6745.319"
-[tool.poetry.group.benchmark.dependencies]
-agbenchmark = { path = "../../benchmark" }
-
[build-system]
requires = ["poetry-core"]
diff --git a/autogpts/forge/setup b/autogpts/forge/setup
index e49c8b3f16..eb74669ae1 100755
--- a/autogpts/forge/setup
+++ b/autogpts/forge/setup
@@ -8,6 +8,6 @@
echo "No poetry environment found."
fi
- poetry install
+ poetry install --extras benchmark
echo "Setup completed successfully."
exit 0