Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

chore: Update uv install (#1749)

Wendong-Fan5e21fe77256a
diff --git a/.container/Dockerfile b/.container/Dockerfile
index 4dae01132..15ea49f47 100644
--- a/.container/Dockerfile
+++ b/.container/Dockerfile
@@ -10,7 +10,7 @@ WORKDIR /app/camel
# Setup virtual environment and install dependencies
RUN uv venv .venv --python=3.10 && \
. .venv/bin/activate && \
- uv pip install -e ".[all, dev]" && \
+ uv pip install -e ".[all, dev, docs]" && \
pip install pre-commit mypy && \
pre-commit install
diff --git a/.container/minimal_build/Dockerfile b/.container/minimal_build/Dockerfile
index 1b76a842a..f7aa652fb 100644
--- a/.container/minimal_build/Dockerfile
+++ b/.container/minimal_build/Dockerfile
@@ -10,7 +10,7 @@ WORKDIR /app/camel
# Setup virtual environment and install dependencies
RUN uv venv .venv --python=3.10 && \
. .venv/bin/activate && \
- uv pip install -e ".[all, dev]" && \
+ uv pip install -e ".[all, dev, docs]" && \
pip install pre-commit mypy
CMD ["tail", "-f", "/dev/null"]
\ No newline at end of file
diff --git a/.github/actions/camel_install/action.yml b/.github/actions/camel_install/action.yml
index d392f6f23..8de764a42 100644
--- a/.github/actions/camel_install/action.yml
+++ b/.github/actions/camel_install/action.yml
@@ -29,7 +29,7 @@ runs:
- name: Install the project dependencies
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
shell: bash
- uses: actions/cache/save@v3
name: Save caches based on uv.lock
diff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.yml
index ddf7f0f40..4c87f3e74 100644
--- a/.github/workflows/build_package.yml
+++ b/.github/workflows/build_package.yml
@@ -34,12 +34,12 @@ jobs:
- name: Install dependencies
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
- name: Build
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
uv pip install build
python -m build
diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml
index 8043425c6..8df618725 100644
--- a/.github/workflows/publish_release.yml
+++ b/.github/workflows/publish_release.yml
@@ -32,7 +32,7 @@ jobs:
- name: Build package
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
uv pip install build
python -m build
diff --git a/.github/workflows/pytest_apps.yml b/.github/workflows/pytest_apps.yml
index 45f413067..59318b85e 100644
--- a/.github/workflows/pytest_apps.yml
+++ b/.github/workflows/pytest_apps.yml
@@ -30,7 +30,7 @@ jobs:
SEARCH_ENGINE_ID: "${{ secrets.SEARCH_ENGINE_ID }}"
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
pytest -v apps/
pytest_examples:
diff --git a/.github/workflows/pytest_package.yml b/.github/workflows/pytest_package.yml
index 56b0c176b..cbf139b00 100644
--- a/.github/workflows/pytest_package.yml
+++ b/.github/workflows/pytest_package.yml
@@ -64,7 +64,7 @@ jobs:
AIML_API_KEY: "${{ secrets.AIML_API_KEY }}"
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
pytest --fast-test-mode test/
pytest_package_llm_test:
@@ -118,7 +118,7 @@ jobs:
AIML_API_KEY: "${{ secrets.AIML_API_KEY }}"
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
pytest --llm-test-only test/
pytest_package_very_slow_test:
@@ -170,5 +170,5 @@ jobs:
MOONSHOT_API_KEY: "${{ secrets.MOONSHOT_API_KEY }}"
run: |
source .venv/bin/activate
- uv pip install -e ".[all, dev]"
+ uv pip install -e ".[all, dev, docs]"
pytest --very-slow-test-only test/
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1e59a4654..c68604872 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -292,7 +292,7 @@ source .venv/bin/activate
.venv\Scripts\activate
# Install CAMEL with all dependencies
-uv pip install -e ".[all, dev]"
+uv pip install -e ".[all, dev, docs]"
# The following command installs a pre-commit hook into the local git repo,
# so every commit gets auto-formatted and linted.
diff --git a/docs/get_started/installation.md b/docs/get_started/installation.md
index 2e44a4329..4c4df86f2 100644
--- a/docs/get_started/installation.md
+++ b/docs/get_started/installation.md
@@ -69,7 +69,7 @@ source .venv/bin/activate
.venv\Scripts\activate
# Install CAMEL with all dependencies
-uv pip install -e ".[all, dev]"
+uv pip install -e ".[all, dev, docs]"
# For developers: Install pre-commit hooks and mypy
uv pip install pre-commit mypy