🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
chore: Update uv install (#1749)
Wendong-Fan5e21fe77256a
diff --git a/.container/Dockerfile b/.container/Dockerfileindex 4dae01132..15ea49f47 100644--- a/.container/Dockerfile+++ b/.container/Dockerfile@@ -10,7 +10,7 @@ WORKDIR /app/camel# Setup virtual environment and install dependenciesRUN 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 installdiff --git a/.container/minimal_build/Dockerfile b/.container/minimal_build/Dockerfileindex 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 dependenciesRUN 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 mypyCMD ["tail", "-f", "/dev/null"]\ No newline at end of filediff --git a/.github/actions/camel_install/action.yml b/.github/actions/camel_install/action.ymlindex 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 dependenciesrun: |source .venv/bin/activate- uv pip install -e ".[all, dev]"+ uv pip install -e ".[all, dev, docs]"shell: bash- uses: actions/cache/save@v3name: Save caches based on uv.lockdiff --git a/.github/workflows/build_package.yml b/.github/workflows/build_package.ymlindex ddf7f0f40..4c87f3e74 100644--- a/.github/workflows/build_package.yml+++ b/.github/workflows/build_package.yml@@ -34,12 +34,12 @@ jobs:- name: Install dependenciesrun: |source .venv/bin/activate- uv pip install -e ".[all, dev]"+ uv pip install -e ".[all, dev, docs]"- name: Buildrun: |source .venv/bin/activate- uv pip install -e ".[all, dev]"+ uv pip install -e ".[all, dev, docs]"uv pip install buildpython -m builddiff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.ymlindex 8043425c6..8df618725 100644--- a/.github/workflows/publish_release.yml+++ b/.github/workflows/publish_release.yml@@ -32,7 +32,7 @@ jobs:- name: Build packagerun: |source .venv/bin/activate- uv pip install -e ".[all, dev]"+ uv pip install -e ".[all, dev, docs]"uv pip install buildpython -m builddiff --git a/.github/workflows/pytest_apps.yml b/.github/workflows/pytest_apps.ymlindex 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.ymlindex 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.mdindex 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.mdindex 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 mypyuv pip install pre-commit mypy