Skip to content

Commit 5e21fe7

Browse files
authored
chore: Update uv install (camel-ai#1749)
1 parent fe9f764 commit 5e21fe7

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.container/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /app/camel
1010
# Setup virtual environment and install dependencies
1111
RUN uv venv .venv --python=3.10 && \
1212
. .venv/bin/activate && \
13-
uv pip install -e ".[all, dev]" && \
13+
uv pip install -e ".[all, dev, docs]" && \
1414
pip install pre-commit mypy && \
1515
pre-commit install
1616

.container/minimal_build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /app/camel
1010
# Setup virtual environment and install dependencies
1111
RUN uv venv .venv --python=3.10 && \
1212
. .venv/bin/activate && \
13-
uv pip install -e ".[all, dev]" && \
13+
uv pip install -e ".[all, dev, docs]" && \
1414
pip install pre-commit mypy
1515

1616
CMD ["tail", "-f", "/dev/null"]

.github/actions/camel_install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
- name: Install the project dependencies
3030
run: |
3131
source .venv/bin/activate
32-
uv pip install -e ".[all, dev]"
32+
uv pip install -e ".[all, dev, docs]"
3333
shell: bash
3434
- uses: actions/cache/save@v3
3535
name: Save caches based on uv.lock

.github/workflows/build_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
source .venv/bin/activate
37-
uv pip install -e ".[all, dev]"
37+
uv pip install -e ".[all, dev, docs]"
3838
3939
- name: Build
4040
run: |
4141
source .venv/bin/activate
42-
uv pip install -e ".[all, dev]"
42+
uv pip install -e ".[all, dev, docs]"
4343
uv pip install build
4444
python -m build
4545

.github/workflows/publish_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build package
3333
run: |
3434
source .venv/bin/activate
35-
uv pip install -e ".[all, dev]"
35+
uv pip install -e ".[all, dev, docs]"
3636
uv pip install build
3737
python -m build
3838

.github/workflows/pytest_apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
SEARCH_ENGINE_ID: "${{ secrets.SEARCH_ENGINE_ID }}"
3131
run: |
3232
source .venv/bin/activate
33-
uv pip install -e ".[all, dev]"
33+
uv pip install -e ".[all, dev, docs]"
3434
pytest -v apps/
3535
3636
pytest_examples:

.github/workflows/pytest_package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
AIML_API_KEY: "${{ secrets.AIML_API_KEY }}"
6565
run: |
6666
source .venv/bin/activate
67-
uv pip install -e ".[all, dev]"
67+
uv pip install -e ".[all, dev, docs]"
6868
pytest --fast-test-mode test/
6969
7070
pytest_package_llm_test:
@@ -118,7 +118,7 @@ jobs:
118118
AIML_API_KEY: "${{ secrets.AIML_API_KEY }}"
119119
run: |
120120
source .venv/bin/activate
121-
uv pip install -e ".[all, dev]"
121+
uv pip install -e ".[all, dev, docs]"
122122
pytest --llm-test-only test/
123123
124124
pytest_package_very_slow_test:
@@ -170,5 +170,5 @@ jobs:
170170
MOONSHOT_API_KEY: "${{ secrets.MOONSHOT_API_KEY }}"
171171
run: |
172172
source .venv/bin/activate
173-
uv pip install -e ".[all, dev]"
173+
uv pip install -e ".[all, dev, docs]"
174174
pytest --very-slow-test-only test/

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ source .venv/bin/activate
292292
.venv\Scripts\activate
293293

294294
# Install CAMEL with all dependencies
295-
uv pip install -e ".[all, dev]"
295+
uv pip install -e ".[all, dev, docs]"
296296

297297
# The following command installs a pre-commit hook into the local git repo,
298298
# so every commit gets auto-formatted and linted.

docs/get_started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ source .venv/bin/activate
6969
.venv\Scripts\activate
7070

7171
# Install CAMEL with all dependencies
72-
uv pip install -e ".[all, dev]"
72+
uv pip install -e ".[all, dev, docs]"
7373

7474
# For developers: Install pre-commit hooks and mypy
7575
uv pip install pre-commit mypy

0 commit comments

Comments
 (0)