dirsql 0.2.7__tar.gz → 0.2.9__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.
- {dirsql-0.2.7 → dirsql-0.2.9}/Cargo.lock +2 -2
- {dirsql-0.2.7 → dirsql-0.2.9}/Cargo.toml +0 -5
- {dirsql-0.2.7 → dirsql-0.2.9}/PKG-INFO +1 -1
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/Cargo.toml +5 -1
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/Cargo.toml +4 -1
- {dirsql-0.2.7 → dirsql-0.2.9}/pyproject.toml +16 -8
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/binary_path.py +4 -3
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/binary_path_test.py +6 -4
- {dirsql-0.2.7 → dirsql-0.2.9}/README.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/.claude/CLAUDE.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/.vitepress/config.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/.vitepress/theme/index.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/.vitepress/theme/lang.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/AGENTS.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/api/index.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/getting-started.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/async.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/cli.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/config.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/crdt.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/querying.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/tables.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/guide/watching.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/index.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/migrations.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/package.json +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/playwright.config.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/pnpm-lock.yaml +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/pnpm-workspace.yaml +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/tests/integration/home.spec.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/tests/integration/language-flag.spec.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/tests/unit/config.test.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/tests/unit/lang.test.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/docs/vitest.config.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/README.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/.claude/CLAUDE.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/.vitepress/config.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/.vitepress/theme/index.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/.vitepress/theme/lang.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/AGENTS.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/api/index.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/getting-started.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/async.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/cli.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/config.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/crdt.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/querying.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/tables.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/guide/watching.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/index.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/migrations.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/package.json +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/playwright.config.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/pnpm-lock.yaml +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/pnpm-workspace.yaml +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/tests/integration/home.spec.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/tests/integration/language-flag.spec.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/tests/unit/config.test.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/tests/unit/lang.test.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/docs/vitest.config.ts +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/python/conftest.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/src/lib.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/__init__.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/conftest.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/__init__.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/test_async_dirsql.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/test_binding.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/test_dirsql.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/test_docs_examples.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/test_docs_gaps.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/python/tests/integration/test_from_config.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/README.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/benches/db_bench.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/benches/differ_bench.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/benches/matcher_bench.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/benches/scanner_bench.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/api/index.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/getting-started.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/async.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/cli.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/config.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/crdt.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/querying.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/tables.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/guide/watching.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/index.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/docs/migrations.md +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/bin/dirsql.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/cli/mod.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/cli/router.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/cli/serialize.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/cli/server.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/config.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/db.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/differ.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/lib.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/matcher.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/parser.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/scanner.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/src/watcher.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/async_sdk.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/cli_e2e.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/cli_integration.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/docs_examples.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/docs_gaps.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/from_config.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/readonly_query.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/packages/rust/tests/sdk.rs +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/__init__.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_async.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/__init__.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/is_windows.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/is_windows_test.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/main.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/_cli/main_test.py +0 -0
- {dirsql-0.2.7 → dirsql-0.2.9}/python/dirsql/test_async.py +0 -0
|
@@ -437,7 +437,7 @@ checksum = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
|
|
|
437
437
|
|
|
438
438
|
[[package]]
|
|
439
439
|
name = "dirsql"
|
|
440
|
-
version = "0.
|
|
440
|
+
version = "0.2.7"
|
|
441
441
|
dependencies = [
|
|
442
442
|
"assert_cmd",
|
|
443
443
|
"axum",
|
|
@@ -480,7 +480,7 @@ dependencies = [
|
|
|
480
480
|
|
|
481
481
|
[[package]]
|
|
482
482
|
name = "dirsql-py-ext"
|
|
483
|
-
version = "0.
|
|
483
|
+
version = "0.2.9"
|
|
484
484
|
dependencies = [
|
|
485
485
|
"dirsql",
|
|
486
486
|
"pyo3",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "dirsql-py-ext"
|
|
3
|
-
version.workspace = true
|
|
3
|
+
# Explicit literal (not `version.workspace = true`) so putitoutthere's
|
|
4
|
+
# pypi/maturin handler can rewrite it via `write-version` before
|
|
5
|
+
# `maturin build`. `pyproject.toml` declares `dynamic = ["version"]`
|
|
6
|
+
# and maturin reads this field. Mirrors `packages/rust/Cargo.toml`.
|
|
7
|
+
version = "0.2.9"
|
|
4
8
|
edition.workspace = true
|
|
5
9
|
publish = false
|
|
6
10
|
readme = "README.md"
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "dirsql"
|
|
3
3
|
description = "Ephemeral SQL index over a local directory"
|
|
4
|
-
version.workspace = true
|
|
4
|
+
# Explicit literal (not `version.workspace = true`) so putitoutthere's
|
|
5
|
+
# crates handler can update it via `replaceCargoVersion`. The workspace
|
|
6
|
+
# version stays for the binding crates (publish = false).
|
|
7
|
+
version = "0.2.7"
|
|
5
8
|
edition.workspace = true
|
|
6
9
|
license.workspace = true
|
|
7
10
|
repository.workspace = true
|
|
@@ -4,7 +4,11 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "dirsql"
|
|
7
|
-
version
|
|
7
|
+
# Maturin reads the version from `packages/python/Cargo.toml`'s
|
|
8
|
+
# `[package].version` (see `dynamic = ["version"]`). Putitoutthere's
|
|
9
|
+
# `write-version` step rewrites that literal before `maturin build` so
|
|
10
|
+
# wheels ship at the planned version, not the literal on disk.
|
|
11
|
+
dynamic = ["version"]
|
|
8
12
|
description = "Ephemeral SQL index over a local directory"
|
|
9
13
|
license = "MIT"
|
|
10
14
|
requires-python = ">=3.10"
|
|
@@ -25,13 +29,17 @@ dev = [
|
|
|
25
29
|
"maturin>=1.0",
|
|
26
30
|
]
|
|
27
31
|
|
|
28
|
-
[project.scripts]
|
|
29
|
-
#
|
|
30
|
-
#
|
|
31
|
-
#
|
|
32
|
-
#
|
|
33
|
-
#
|
|
34
|
-
dirsql = "dirsql._cli.main:main"
|
|
32
|
+
# [project.scripts] removed: the Rust CLI binary is no longer bundled
|
|
33
|
+
# inside the PyPI wheel. Putitoutthere v0.2.3's `bundle_cli` recipe is
|
|
34
|
+
# parsed but not yet wired into its reusable workflow's build job (no
|
|
35
|
+
# cross-compile step reads `matrix.bundle_cli`). Restore the entry —
|
|
36
|
+
#
|
|
37
|
+
# [project.scripts]
|
|
38
|
+
# dirsql = "dirsql._cli.main:main"
|
|
39
|
+
#
|
|
40
|
+
# — once the upstream gap is fixed and `[package.bundle_cli]` is
|
|
41
|
+
# re-enabled in `putitoutthere.toml`. Until then, CLI install paths are
|
|
42
|
+
# `cargo install dirsql --features cli` and `npx dirsql`.
|
|
35
43
|
|
|
36
44
|
[tool.maturin]
|
|
37
45
|
features = ["extension-module"]
|
|
@@ -12,8 +12,9 @@ def binary_path() -> str:
|
|
|
12
12
|
path = files("dirsql").joinpath("_binary", name)
|
|
13
13
|
if not path.is_file():
|
|
14
14
|
raise FileNotFoundError(
|
|
15
|
-
f"bundled `{name}` not found at {path}
|
|
16
|
-
"
|
|
17
|
-
"
|
|
15
|
+
f"bundled `{name}` not found at {path}. The dirsql PyPI wheel "
|
|
16
|
+
"no longer ships the CLI binary (release-tooling regression "
|
|
17
|
+
"while putitoutthere wires up bundle_cli). Install the CLI via "
|
|
18
|
+
"`cargo install dirsql --features cli` or `npx dirsql`."
|
|
18
19
|
)
|
|
19
20
|
return str(path)
|
|
@@ -56,13 +56,15 @@ def describe_binary_path():
|
|
|
56
56
|
assert root.joinpath_calls == [("_binary", "dirsql.exe")]
|
|
57
57
|
|
|
58
58
|
def describe_when_the_binary_is_missing():
|
|
59
|
-
def
|
|
59
|
+
def it_raises_FileNotFoundError_pointing_at_alternate_install_paths(
|
|
60
|
+
monkeypatch,
|
|
61
|
+
):
|
|
60
62
|
monkeypatch.setattr(mod, "is_windows", lambda: False)
|
|
61
63
|
root = _FakeRoot("/does/not/exist", exists=False)
|
|
62
64
|
monkeypatch.setattr(mod, "files", lambda _mod: root)
|
|
63
65
|
|
|
64
66
|
with pytest.raises(FileNotFoundError) as exc:
|
|
65
67
|
mod.binary_path()
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
68
|
+
msg = str(exc.value)
|
|
69
|
+
assert "cargo install dirsql --features cli" in msg
|
|
70
|
+
assert "npx dirsql" in msg
|
|
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
|
|
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
|
|
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
|
|
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
|