lance-context 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lance_context-0.3.2 → lance_context-0.3.3}/PKG-INFO +9 -4
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/Cargo.toml +1 -1
- {lance_context-0.3.2 → lance_context-0.3.3}/pyproject.toml +18 -5
- {lance_context-0.3.2 → lance_context-0.3.3}/python/Cargo.toml +1 -1
- lance_context-0.3.3/python/tests/test_packaging_metadata.py +31 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/uv.lock +18 -8
- {lance_context-0.3.2 → lance_context-0.3.3}/Cargo.toml +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/LICENSE +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/README.md +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-api/Cargo.toml +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-api/src/lib.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/README.md +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/src/api_impl.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/src/context.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/src/lib.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/src/record.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/src/serde.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/crates/lance-context-core/src/store.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/Cargo.lock +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/LICENSE +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/README.md +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/lance_context/__init__.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/lance_context/api.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/python/tests/test_context.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/src/lib.rs +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_add_many.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_async.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_compaction.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_delete.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_external_id.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_gcs_persistence.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_id_index.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_persistence.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_search.py +0 -0
- {lance_context-0.3.2 → lance_context-0.3.3}/python/tests/test_storage_options.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lance-context
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Intended Audience :: Science/Research
|
|
6
6
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -14,20 +14,25 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
15
|
Classifier: Programming Language :: Rust
|
|
16
16
|
Classifier: Topic :: Scientific/Engineering
|
|
17
|
-
Requires-Dist:
|
|
18
|
-
Requires-Dist: lancedb==0.27.1
|
|
19
|
-
Requires-Dist: lance-namespace==0.7.7
|
|
17
|
+
Requires-Dist: pyarrow>=14
|
|
20
18
|
Requires-Dist: ruff ; extra == 'dev'
|
|
21
19
|
Requires-Dist: pyright ; extra == 'dev'
|
|
22
20
|
Requires-Dist: lance-graph==0.5.4 ; extra == 'graph'
|
|
21
|
+
Requires-Dist: pylance>=7.0.0,<8 ; extra == 'lance-python'
|
|
22
|
+
Requires-Dist: lance-namespace>=0.7.7,<0.8 ; extra == 'lance-python'
|
|
23
|
+
Requires-Dist: lancedb==0.27.1 ; extra == 'lance-python'
|
|
23
24
|
Requires-Dist: pytest ; extra == 'tests'
|
|
24
25
|
Requires-Dist: pytest-asyncio ; extra == 'tests'
|
|
25
26
|
Requires-Dist: ruff ; extra == 'tests'
|
|
26
27
|
Requires-Dist: moto[s3,server] ; extra == 'tests'
|
|
27
28
|
Requires-Dist: boto3 ; extra == 'tests'
|
|
28
29
|
Requires-Dist: botocore ; extra == 'tests'
|
|
30
|
+
Requires-Dist: pylance>=7.0.0,<8 ; extra == 'tests'
|
|
31
|
+
Requires-Dist: lance-namespace>=0.7.7,<0.8 ; extra == 'tests'
|
|
32
|
+
Requires-Dist: lancedb==0.27.1 ; extra == 'tests'
|
|
29
33
|
Provides-Extra: dev
|
|
30
34
|
Provides-Extra: graph
|
|
35
|
+
Provides-Extra: lance-python
|
|
31
36
|
Provides-Extra: tests
|
|
32
37
|
License-File: LICENSE
|
|
33
38
|
Summary: Multimodal, versioned context storage for agentic workflows
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "lance-context"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.3"
|
|
4
4
|
dependencies = [
|
|
5
|
-
"
|
|
6
|
-
"lancedb==0.27.1",
|
|
7
|
-
"lance-namespace==0.7.7",
|
|
5
|
+
"pyarrow>=14",
|
|
8
6
|
]
|
|
9
7
|
description = "Multimodal, versioned context storage for agentic workflows"
|
|
10
8
|
authors = [{ name = "Lance Devs", email = "dev@lancedb.com" }]
|
|
@@ -42,9 +40,24 @@ build-backend = "maturin"
|
|
|
42
40
|
|
|
43
41
|
[project.optional-dependencies]
|
|
44
42
|
graph = ["lance-graph==0.5.4"]
|
|
43
|
+
lance-python = [
|
|
44
|
+
"pylance>=7.0.0,<8",
|
|
45
|
+
"lance-namespace>=0.7.7,<0.8",
|
|
46
|
+
"lancedb==0.27.1",
|
|
47
|
+
]
|
|
45
48
|
# `moto[server]` pulls in flask + flask-cors so moto.server can be launched
|
|
46
49
|
# as a subprocess for the S3 integration tests.
|
|
47
|
-
tests = [
|
|
50
|
+
tests = [
|
|
51
|
+
"pytest",
|
|
52
|
+
"pytest-asyncio",
|
|
53
|
+
"ruff",
|
|
54
|
+
"moto[s3,server]",
|
|
55
|
+
"boto3",
|
|
56
|
+
"botocore",
|
|
57
|
+
"pylance>=7.0.0,<8",
|
|
58
|
+
"lance-namespace>=0.7.7,<0.8",
|
|
59
|
+
"lancedb==0.27.1",
|
|
60
|
+
]
|
|
48
61
|
dev = ["ruff", "pyright"]
|
|
49
62
|
|
|
50
63
|
[tool.ruff]
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import tomllib
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
PYTHON_ROOT = Path(__file__).resolve().parents[1]
|
|
7
|
+
LANCE_PYTHON_DEPS = {"pylance", "lancedb", "lance-namespace"}
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def _dependency_names(dependencies: list[str]) -> set[str]:
|
|
11
|
+
return {
|
|
12
|
+
dependency.split(";", 1)[0]
|
|
13
|
+
.split("[", 1)[0]
|
|
14
|
+
.split("=", 1)[0]
|
|
15
|
+
.split("<", 1)[0]
|
|
16
|
+
.split(">", 1)[0]
|
|
17
|
+
.strip()
|
|
18
|
+
.lower()
|
|
19
|
+
for dependency in dependencies
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def test_lance_python_packages_are_optional_runtime_dependencies() -> None:
|
|
24
|
+
pyproject = tomllib.loads((PYTHON_ROOT / "pyproject.toml").read_text())
|
|
25
|
+
project = pyproject["project"]
|
|
26
|
+
runtime_deps = _dependency_names(project["dependencies"])
|
|
27
|
+
optional_deps = project["optional-dependencies"]
|
|
28
|
+
|
|
29
|
+
assert LANCE_PYTHON_DEPS.isdisjoint(runtime_deps)
|
|
30
|
+
assert LANCE_PYTHON_DEPS <= _dependency_names(optional_deps["lance-python"])
|
|
31
|
+
assert LANCE_PYTHON_DEPS <= _dependency_names(optional_deps["tests"])
|
|
@@ -1058,12 +1058,10 @@ wheels = [
|
|
|
1058
1058
|
|
|
1059
1059
|
[[package]]
|
|
1060
1060
|
name = "lance-context"
|
|
1061
|
-
version = "0.3.
|
|
1061
|
+
version = "0.3.2"
|
|
1062
1062
|
source = { editable = "." }
|
|
1063
1063
|
dependencies = [
|
|
1064
|
-
{ name = "
|
|
1065
|
-
{ name = "lancedb" },
|
|
1066
|
-
{ name = "pylance" },
|
|
1064
|
+
{ name = "pyarrow" },
|
|
1067
1065
|
]
|
|
1068
1066
|
|
|
1069
1067
|
[package.optional-dependencies]
|
|
@@ -1074,10 +1072,18 @@ dev = [
|
|
|
1074
1072
|
graph = [
|
|
1075
1073
|
{ name = "lance-graph" },
|
|
1076
1074
|
]
|
|
1075
|
+
lance-python = [
|
|
1076
|
+
{ name = "lance-namespace" },
|
|
1077
|
+
{ name = "lancedb" },
|
|
1078
|
+
{ name = "pylance" },
|
|
1079
|
+
]
|
|
1077
1080
|
tests = [
|
|
1078
1081
|
{ name = "boto3" },
|
|
1079
1082
|
{ name = "botocore" },
|
|
1083
|
+
{ name = "lance-namespace" },
|
|
1084
|
+
{ name = "lancedb" },
|
|
1080
1085
|
{ name = "moto", extra = ["s3", "server"] },
|
|
1086
|
+
{ name = "pylance" },
|
|
1081
1087
|
{ name = "pytest" },
|
|
1082
1088
|
{ name = "pytest-asyncio" },
|
|
1083
1089
|
{ name = "ruff" },
|
|
@@ -1088,17 +1094,21 @@ requires-dist = [
|
|
|
1088
1094
|
{ name = "boto3", marker = "extra == 'tests'" },
|
|
1089
1095
|
{ name = "botocore", marker = "extra == 'tests'" },
|
|
1090
1096
|
{ name = "lance-graph", marker = "extra == 'graph'", specifier = "==0.5.4" },
|
|
1091
|
-
{ name = "lance-namespace", specifier = "
|
|
1092
|
-
{ name = "
|
|
1097
|
+
{ name = "lance-namespace", marker = "extra == 'lance-python'", specifier = ">=0.7.7,<0.8" },
|
|
1098
|
+
{ name = "lance-namespace", marker = "extra == 'tests'", specifier = ">=0.7.7,<0.8" },
|
|
1099
|
+
{ name = "lancedb", marker = "extra == 'lance-python'", specifier = "==0.27.1" },
|
|
1100
|
+
{ name = "lancedb", marker = "extra == 'tests'", specifier = "==0.27.1" },
|
|
1093
1101
|
{ name = "moto", extras = ["s3", "server"], marker = "extra == 'tests'" },
|
|
1094
|
-
{ name = "
|
|
1102
|
+
{ name = "pyarrow", specifier = ">=14" },
|
|
1103
|
+
{ name = "pylance", marker = "extra == 'lance-python'", specifier = ">=7.0.0,<8" },
|
|
1104
|
+
{ name = "pylance", marker = "extra == 'tests'", specifier = ">=7.0.0,<8" },
|
|
1095
1105
|
{ name = "pyright", marker = "extra == 'dev'" },
|
|
1096
1106
|
{ name = "pytest", marker = "extra == 'tests'" },
|
|
1097
1107
|
{ name = "pytest-asyncio", marker = "extra == 'tests'" },
|
|
1098
1108
|
{ name = "ruff", marker = "extra == 'dev'" },
|
|
1099
1109
|
{ name = "ruff", marker = "extra == 'tests'" },
|
|
1100
1110
|
]
|
|
1101
|
-
provides-extras = ["graph", "tests", "dev"]
|
|
1111
|
+
provides-extras = ["graph", "lance-python", "tests", "dev"]
|
|
1102
1112
|
|
|
1103
1113
|
[[package]]
|
|
1104
1114
|
name = "lance-graph"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|