Skip to content

Commit 8d0d835

Browse files
authored
Merge branch 'main' into fix/remove-deprecation-package
2 parents 91152cc + c6135f5 commit 8d0d835

5 files changed

Lines changed: 16 additions & 39 deletions

File tree

.github/workflows/main.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ env:
2626
WEAVIATE_132: 1.32.23
2727
WEAVIATE_133: 1.33.10
2828
WEAVIATE_134: 1.34.5
29-
WEAVIATE_135: 1.35.0
30-
WEAVIATE_136: 1.36.0
31-
WEAVIATE_137: 1.37.0-dev-29d5c87.amd64
29+
WEAVIATE_135: 1.35.16-efdedfa
30+
WEAVIATE_136: 1.36.9-d905e6c
31+
WEAVIATE_137: 1.37.0-rc.0-b313954.amd64
3232

3333

3434
jobs:
@@ -310,7 +310,7 @@ jobs:
310310
$WEAVIATE_133,
311311
$WEAVIATE_134,
312312
$WEAVIATE_135,
313-
$WEAVIATE_136
313+
$WEAVIATE_136,
314314
$WEAVIATE_137
315315
]
316316
steps:

integration/test_backup_v4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ def test_incremental_backup(client: weaviate.WeaviateClient, request: SubRequest
764764
backend=BACKEND,
765765
include_collections=["Article"],
766766
wait_for_completion=True,
767-
incremental_backup_base_id=base_backup_id,
767+
incremental_base_backup_id=base_backup_id,
768768
)
769769

770770
# remove existing class

integration/test_client.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -360,37 +360,6 @@ def test_client_cluster_with_lazy_shard_loading(
360360
client.collections.delete(request.node.name)
361361

362362

363-
def test_client_cluster_without_lazy_shard_loading(
364-
client_factory: ClientFactory, request: SubRequest
365-
) -> None:
366-
client = client_factory(8090, 50061)
367-
368-
try:
369-
collection = client.collections.create(
370-
name=request.node.name, vectorizer_config=Configure.Vectorizer.none()
371-
)
372-
373-
nodes = client.cluster.nodes(collection.name, output="verbose")
374-
assert len(nodes) == 1
375-
assert len(nodes[0].shards) == 1
376-
assert nodes[0].shards[0].collection == collection.name
377-
assert nodes[0].shards[0].object_count == 0
378-
assert nodes[0].shards[0].vector_indexing_status in [
379-
"READONLY",
380-
"INDEXING",
381-
"READY",
382-
"LAZY_LOADING",
383-
]
384-
assert nodes[0].shards[0].vector_queue_length == 0
385-
assert nodes[0].shards[0].compressed is False
386-
if collection._connection._weaviate_version.is_lower_than(1, 25, 0):
387-
assert nodes[0].shards[0].loaded is True
388-
else:
389-
assert nodes[0].shards[0].loaded is False
390-
finally:
391-
client.collections.delete(request.node.name)
392-
393-
394363
def test_client_cluster_multitenant(client: weaviate.WeaviateClient, request: SubRequest) -> None:
395364
try:
396365
collection = client.collections.create(

integration/test_collection_config.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,6 +1585,10 @@ def test_replication_config_without_async_config(collection_factory: CollectionF
15851585

15861586

15871587
def test_replication_config_with_async_config(collection_factory: CollectionFactory) -> None:
1588+
collection_dummy = collection_factory("dummy")
1589+
if collection_dummy._connection._weaviate_version.is_lower_than(1, 34, 18):
1590+
pytest.skip("async replication config requires Weaviate >= 1.34.18")
1591+
15881592
collection = collection_factory(
15891593
replication_config=Configure.replication(
15901594
factor=1,
@@ -1726,15 +1730,15 @@ def test_replication_config_add_async_config_to_existing_collection(
17261730
collection.config.update(
17271731
replication_config=Reconfigure.replication(
17281732
async_config=Reconfigure.Replication.async_config(
1729-
max_workers=12,
1733+
max_workers=8,
17301734
propagation_concurrency=4,
17311735
),
17321736
),
17331737
)
17341738
config = collection.config.get()
17351739
assert config.replication_config.async_config is not None
17361740
ac = config.replication_config.async_config
1737-
assert ac.max_workers == 12
1741+
assert ac.max_workers == 8
17381742
assert ac.propagation_concurrency == 4
17391743

17401744

weaviate/backup/executor.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ def create(
9292
"id": backup_id,
9393
"include": include_collections,
9494
"exclude": exclude_collections,
95-
"incremental_base_backup_id": incremental_base_backup_id,
95+
"incremental_base_backup_id": (
96+
incremental_base_backup_id.lower()
97+
if incremental_base_backup_id is not None
98+
else None
99+
),
96100
}
97101

98102
if config is not None:

0 commit comments

Comments
 (0)