Skip to content

Commit a264038

Browse files
authored
chore: drop cocoindex prerelease install flags (#145)
Now that cocoindex 1.0.0 is stable, we no longer need `--prerelease` or explicit prerelease version pins in install instructions. - README.md: simplify `uv tool install` commands - docker/Dockerfile: drop `--prerelease=allow` and the redundant `cocoindex>=1.0.0a33` pin (pyproject.toml already constrains `cocoindex[litellm]>=1.0.0,<1.1.0`)
1 parent 755e703 commit a264038

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pipx upgrade cocoindex-code # upgrade
5252

5353
Using [uv](https://docs.astral.sh/uv/getting-started/installation/):
5454
```bash
55-
uv tool install --upgrade 'cocoindex-code[full]' --prerelease explicit --with "cocoindex>=1.0.0a24"
55+
uv tool install --upgrade 'cocoindex-code[full]'
5656
```
5757

5858
Two install styles — they mirror the Docker image variants of the same names:
@@ -683,7 +683,7 @@ pipx upgrade cocoindex-code # upgrade
683683

684684
Using uv (install or upgrade):
685685
```bash
686-
uv tool install --upgrade cocoindex-code --prerelease explicit --with "cocoindex>=1.0.0a24"
686+
uv tool install --upgrade cocoindex-code
687687
```
688688

689689
## Legacy: Environment Variables

docker/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ RUN pip install --quiet uv
4848
# this layer on upgrade.
4949
ARG CCC_VARIANT=slim
5050
RUN if [ "$CCC_VARIANT" = "full" ]; then \
51-
uv pip install --system --prerelease=allow sentence-transformers; \
51+
uv pip install --system sentence-transformers; \
5252
fi
5353

5454
ENV HF_HOME=/var/cocoindex/cache/huggingface \
@@ -101,6 +101,4 @@ RUN --mount=type=bind,source=.,target=/ccc-src,rw=true \
101101
CCC_INSTALL_SPEC="cocoindex-code"; \
102102
fi; \
103103
fi; \
104-
uv pip install --system --prerelease=allow \
105-
"cocoindex>=1.0.0a33" \
106-
"${CCC_INSTALL_SPEC}"
104+
uv pip install --system "${CCC_INSTALL_SPEC}"

0 commit comments

Comments
 (0)