Skip to content

Commit 2a7b033

Browse files
authored
update colbert deps to 1.0.0 (#393)
1 parent fd5acd7 commit 2a7b033

File tree

7 files changed

+13
-15
lines changed

7 files changed

+13
-15
lines changed

.github/workflows/ci-unit-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ jobs:
4545
uses: ./.github/actions/lint
4646

4747
- name: "Unit tests (root)"
48-
run: tox -e unit-tests
48+
run: tox -e unit-tests && rm -rf .tox
4949

5050
- name: "Unit tests (colbert)"
51-
run: tox -e unit-tests -c libs/colbert
51+
run: tox -e unit-tests -c libs/colbert && rm -rf libs/colbert/.tox
5252

5353
- name: "Unit tests (langchain)"
54-
run: tox -e unit-tests -c libs/langchain
54+
run: tox -e unit-tests -c libs/langchain && rm -rf libs/langchain/.tox
5555

5656
- name: "Unit tests (llamaindex)"
57-
run: tox -e unit-tests -c libs/llamaindex
57+
run: tox -e unit-tests -c libs/llamaindex && rm -rf libs/llamaindex/.tox
5858

5959
integration-tests:
6060
name: Integration Tests

docker/Dockerfile.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM python:3.11.8-slim-bookworm
22

3+
COPY . ./
34
RUN pip install poetry==1.8.1
45
RUN poetry build && pip install dist/*.whl

libs/colbert/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ragstack-ai-colbert"
3-
version = "1.0.0.post"
3+
version = "1.0.0"
44
description = "DataStax RAGStack Colbert implementation"
55
license = "BUSL-1.1"
66
authors = ["DataStax"]

libs/langchain/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ python = ">=3.9,<3.12"
1414
astrapy = "^1"
1515
cassio = "~0.1.4"
1616
unstructured = "0.12.5"
17-
# THIS MUST BE CHANGED WITH ACTUAL VERSIONS AFTER FIRST RELEASES ARE PUBLISHED
18-
ragstack-ai-colbert = { path = "../colbert", develop = true, optional = true }
17+
ragstack-ai-colbert = "1.0.0"
1918

2019
# langchain
2120
langchain = "0.1.16"
@@ -34,4 +33,5 @@ google = ["langchain-google-genai", "langchain-google-vertexai"]
3433
nvidia = ["langchain-nvidia-ai-endpoints"]
3534

3635
[tool.poetry.group.test.dependencies]
37-
ragstack-ai-tests-utils = { path = "../tests-utils", develop = true }
36+
ragstack-ai-tests-utils = { path = "../tests-utils", develop = true }
37+
ragstack-ai-colbert = { path = "../colbert", develop = true }

libs/llamaindex/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ python = ">=3.9,<3.12"
1414
astrapy = "^1"
1515
cassio = "~0.1.4"
1616
unstructured = "0.12.5"
17-
# THIS MUST BE CHANGED WITH ACTUAL VERSIONS AFTER FIRST RELEASES ARE PUBLISHED
18-
ragstack-ai-colbert = { path = "../colbert", develop = true, optional = true }
17+
ragstack-ai-colbert = "1.0.0"
1918

2019
# llama-index
2120
llama-index = "0.10.31"
@@ -43,4 +42,5 @@ azure = ["llama-index-llms-azure-openai", "llama-index-embeddings-azure-openai"]
4342
bedrock = ["llama-index-llms-bedrock", "llama-index-embeddings-bedrock"]
4443

4544
[tool.poetry.group.test.dependencies]
46-
ragstack-ai-tests-utils = { path = "../tests-utils", develop = true }
45+
ragstack-ai-tests-utils = { path = "../tests-utils", develop = true }
46+
ragstack-ai-colbert = { path = "../colbert", develop = true }

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ python = ">=3.9,<3.12"
1414
# THIS MUST BE CHANGED WITH ACTUAL VERSIONS AFTER FIRST RELEASES ARE PUBLISHED
1515
ragstack-ai-langchain = { path = "libs/langchain", develop = true, extras = ["colbert", "google", "nvidia"] }
1616
ragstack-ai-llamaindex = { path = "libs/llamaindex", develop = true, extras = ["colbert", "google", "azure", "bedrock"] }
17-
ragstack-ai-colbert = { path = "libs/colbert", develop = true }
17+
ragstack-ai-colbert = "1.0.0"
1818

1919
[tool.poetry.group.test.dependencies]
2020
ragstack-ai-langchain = { path = "libs/langchain", develop = true, extras = ["colbert", "google", "nvidia"] }

scripts/release.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ echo ":: Bumping version to $version for package $package"
3636
poetry version $version
3737
git commit -am "Release $package $version"
3838
git tag $tag
39-
echo ":: Bumping version to ${version}.post for package $package"
40-
poetry version "${version}.post"
41-
git commit -am "Bump $package to ${version}.post"
4239
git push origin main
4340
git push origin $tag
4441
echo "done."

0 commit comments

Comments
 (0)