mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(agent): Make build dependencies optional to unbreak install (#7298)
* Create optional `build` dependency group * Move `cx-freeze` dependency to `build` dependency group To include the `build` group when installing dependencies, run `poetry install --with=build`. Fixes #7297 (`cx-freeze` dependency install fails after #7271)
This commit is contained in:
committed by
GitHub
parent
976ea7cd3c
commit
2fa4fd23af
2
autogpt/poetry.lock
generated
2
autogpt/poetry.lock
generated
@@ -6698,4 +6698,4 @@ benchmark = ["agbenchmark"]
|
||||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.10"
|
||||
content-hash = "fedcaea76d933574e26b853f42984c19428376369c75c6215c9d383ac3fda9c4"
|
||||
content-hash = "635471a4231272ee37bbc8f6f94fcc5d7ddc392969e54599453ac08889193a8d"
|
||||
|
||||
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user