mirror of
https://github.com/Significant-Gravitas/Auto-GPT.git
synced 2025-01-08 11:57:32 +08:00
d638c1f484
Make all changes necessary to make everything work with Poetry v2.0.0. - Resolves #9196 ## Changes - Removed `--no-update` flag from `poetry lock` command in codebase - Removed extra path arguments from `poetry -C [path] run [command]` occurrences - Regenerated all lock files in hierarchical order - Added workaround for Poetry bug where `packages.[i].format` is now suddenly required Additionally: - Fixed up .dockerignore - Fixes .venv being erroneously copied over from local - Fixes build context bloat (300MB -> 2.5MB) - Fixed warnings about entrypoint script not being installed in docker builds ### Relevant (breaking) changes in v2.0.0 - `--no-update` flag no longer exists for `poetry lock` as it has become default behavior - The `-C` option now actually changes the directory, so any path arguments in `poetry run` commands can/must be removed - Poetry v2.0.0 uses the new v2.1 lock file spec, so all lock files have to be regenerated to avoid false-positive lock file updates and checks on future PRs - **BUG:** when specifying `poetry.tool.packages`, `format` is required now - python-poetry/poetry#9961 Full Poetry v2.0.0 release notes and change log: https://python-poetry.org/blog/announcing-poetry-2.0.0
62 lines
1.6 KiB
Plaintext
62 lines
1.6 KiB
Plaintext
# Ignore everything by default, selectively add things to context
|
|
*
|
|
|
|
# Platform - Libs
|
|
!autogpt_platform/autogpt_libs/autogpt_libs/
|
|
!autogpt_platform/autogpt_libs/pyproject.toml
|
|
!autogpt_platform/autogpt_libs/poetry.lock
|
|
!autogpt_platform/autogpt_libs/README.md
|
|
|
|
# Platform - Backend
|
|
!autogpt_platform/backend/backend/
|
|
!autogpt_platform/backend/migrations/
|
|
!autogpt_platform/backend/schema.prisma
|
|
!autogpt_platform/backend/pyproject.toml
|
|
!autogpt_platform/backend/poetry.lock
|
|
!autogpt_platform/backend/README.md
|
|
|
|
# Platform - Market
|
|
!autogpt_platform/market/market/
|
|
!autogpt_platform/market/scripts.py
|
|
!autogpt_platform/market/schema.prisma
|
|
!autogpt_platform/market/pyproject.toml
|
|
!autogpt_platform/market/poetry.lock
|
|
!autogpt_platform/market/README.md
|
|
|
|
# Platform - Frontend
|
|
!autogpt_platform/frontend/src/
|
|
!autogpt_platform/frontend/public/
|
|
!autogpt_platform/frontend/package.json
|
|
!autogpt_platform/frontend/yarn.lock
|
|
!autogpt_platform/frontend/tsconfig.json
|
|
!autogpt_platform/frontend/README.md
|
|
## config
|
|
!autogpt_platform/frontend/*.config.*
|
|
!autogpt_platform/frontend/.env.*
|
|
|
|
# Classic - AutoGPT
|
|
!classic/original_autogpt/autogpt/
|
|
!classic/original_autogpt/pyproject.toml
|
|
!classic/original_autogpt/poetry.lock
|
|
!classic/original_autogpt/README.md
|
|
!classic/original_autogpt/tests/
|
|
|
|
# Classic - Benchmark
|
|
!classic/benchmark/agbenchmark/
|
|
!classic/benchmark/pyproject.toml
|
|
!classic/benchmark/poetry.lock
|
|
!classic/benchmark/README.md
|
|
|
|
# Classic - Forge
|
|
!classic/forge/
|
|
!classic/forge/pyproject.toml
|
|
!classic/forge/poetry.lock
|
|
!classic/forge/README.md
|
|
|
|
# Classic - Frontend
|
|
!classic/frontend/build/web/
|
|
|
|
# Explicitly re-ignore some folders
|
|
.*
|
|
**/__pycache__
|