chore: bump lance to 0.8.5 (#561)

Bump lance to 0.5.8
This commit is contained in:
Lei Xu
2023-10-14 12:38:43 -07:00
committed by GitHub
parent 7dfb555fea
commit eff94ecea8
10 changed files with 29 additions and 26 deletions

1
python/LICENSE Symbolic link
View File

@@ -0,0 +1 @@
../LICENSE

View File

@@ -3,7 +3,7 @@ name = "lancedb"
version = "0.3.1"
dependencies = [
"deprecation",
"pylance==0.8.3",
"pylance==0.8.5",
"ratelimiter~=1.0",
"retry>=0.9.2",
"tqdm>=4.1.0",

View File

@@ -458,7 +458,8 @@ def test_compact_cleanup(db):
stats = table.compact_files()
assert len(table) == 3
assert table.version == 4
# Compact_files bump 2 versions.
assert table.version == 5
assert stats.fragments_removed > 0
assert stats.fragments_added == 1
@@ -467,7 +468,7 @@ def test_compact_cleanup(db):
stats = table.cleanup_old_versions(older_than=timedelta(0), delete_unverified=True)
assert stats.bytes_removed > 0
assert table.version == 4
assert table.version == 5
with pytest.raises(Exception, match="Version 3 no longer exists"):
table.checkout(3)