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(agent): Make build dependencies optional to unbreak install (#7298)

Reinier van der Leer2fa4fd23afac
diff --git a/autogpt/poetry.lock b/autogpt/poetry.lock
index 7758a6e229..9742ed6b72 100644
--- a/autogpt/poetry.lock
+++ b/autogpt/poetry.lock
@@ -6698,4 +6698,4 @@ benchmark = ["agbenchmark"]
[metadata]
lock-version = "2.0"
python-versions = "^3.10"
-content-hash = "fedcaea76d933574e26b853f42984c19428376369c75c6215c9d383ac3fda9c4"
+content-hash = "635471a4231272ee37bbc8f6f94fcc5d7ddc392969e54599453ac08889193a8d"
diff --git a/autogpt/pyproject.toml b/autogpt/pyproject.toml
index 4789b6f491..b289047277 100644
--- a/autogpt/pyproject.toml
+++ b/autogpt/pyproject.toml
@@ -43,7 +43,6 @@ sentry-sdk = "^1.40.4"
# Benchmarking
agbenchmark = { path = "../benchmark", optional = true }
# agbenchmark = {git = "https://github.com/Significant-Gravitas/AutoGPT.git", subdirectory = "benchmark", optional = true}
-cx-freeze = { git = "https://github.com/ntindle/cx_Freeze.git", rev = "main", develop = true }
[tool.poetry.extras]
benchmark = ["agbenchmark"]
@@ -69,6 +68,14 @@ pytest-recording = "*"
pytest-xdist = "*"
vcrpy = { git = "https://github.com/Significant-Gravitas/vcrpy.git", rev = "master" }
+[tool.poetry.group.build]
+optional = true
+
+[tool.poetry.group.build.dependencies]
+cx-freeze = { git = "https://github.com/ntindle/cx_Freeze.git", rev = "main" }
+# HACK: switch to cx-freeze release package after #2442 and #2472 are merged: https://github.com/marcelotduarte/cx_Freeze/pulls?q=is:pr+%232442+OR+%232472+
+# cx-freeze = { version = "^7.2.0", optional = true }
+
[build-system]
requires = ["poetry-core"]