toolframe-sql-sqlite 0.4.0__tar.gz → 0.4.1__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.
Files changed (22) hide show
  1. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/.github/workflows/ci.yml +1 -1
  2. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/PKG-INFO +2 -2
  3. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/docs/ci.md +1 -1
  4. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/docs/releasing.md +4 -4
  5. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/pyproject.toml +2 -2
  6. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/scripts/validate.sh +3 -2
  7. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/uv.lock +3 -2
  8. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/.github/workflows/publish.yml +0 -0
  9. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/.github/workflows/quality.yml +0 -0
  10. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/.gitignore +0 -0
  11. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/.pre-commit-config.yaml +0 -0
  12. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/CONTRIBUTING.md +0 -0
  13. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/LICENSE +0 -0
  14. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/NOTICE +0 -0
  15. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/README.md +0 -0
  16. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/cchk.toml +0 -0
  17. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/scripts/check_branch_name.py +0 -0
  18. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/scripts/check_release.py +0 -0
  19. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/src/toolframe_sql_sqlite/__init__.py +0 -0
  20. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/src/toolframe_sql_sqlite/plugin.py +0 -0
  21. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/src/toolframe_sql_sqlite/pool.py +0 -0
  22. {toolframe_sql_sqlite-0.4.0 → toolframe_sql_sqlite-0.4.1}/tests/test_storage.py +0 -0
@@ -26,7 +26,7 @@ jobs:
26
26
  with:
27
27
  repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-sdk
28
28
  token: ${{ secrets.TOOLFRAME_READ_TOKEN || github.token }}
29
- ref: 2cd153ec36c585a9adb5ad566effc2985d9e222d
29
+ ref: 539ced4dbdf9e303ec0f0205a35d65287a480b2a
30
30
  path: toolframe-sdk
31
31
  persist-credentials: false
32
32
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: toolframe-sql-sqlite
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Isolated managed SQLite stores for Toolframe plugins
5
5
  Project-URL: Homepage, https://github.com/toolframe/toolframe-sql-sqlite
6
6
  Project-URL: Repository, https://github.com/toolframe/toolframe-sql-sqlite
@@ -11,7 +11,7 @@ License-Expression: Apache-2.0
11
11
  License-File: LICENSE
12
12
  License-File: NOTICE
13
13
  Requires-Python: >=3.14
14
- Requires-Dist: toolframe-sdk==0.4.0
14
+ Requires-Dist: toolframe-sdk<0.5,>=0.4
15
15
  Description-Content-Type: text/markdown
16
16
 
17
17
  # Toolframe SQLite provider
@@ -4,7 +4,7 @@
4
4
 
5
5
  Install Python 3.14.7, uv 0.12.8, Git and Bash. Keep a readable sibling
6
6
  `../toolframe-sdk` Git checkout containing commit
7
- `2cd153ec36c585a9adb5ad566effc2985d9e222d`. Then run:
7
+ `539ced4dbdf9e303ec0f0205a35d65287a480b2a`. Then run:
8
8
 
9
9
  ```sh
10
10
  uv python install 3.14.7
@@ -1,6 +1,6 @@
1
1
  # Releasing toolframe-sql-sqlite
2
2
 
3
- The distribution name is `toolframe-sql-sqlite`; its current version is `0.3.1`.
3
+ The distribution name is `toolframe-sql-sqlite`. The version is defined in `pyproject.toml`.
4
4
  Release tags must exactly match `v<project.version>`. Ordinary CI never uploads
5
5
  packages. The manual `publish.yml` workflow reruns validation and publishes only
6
6
  artifacts produced by that successful run.
@@ -10,7 +10,7 @@ artifacts produced by that successful run.
10
10
  Run the repository's existing validation workflow; its local commands and
11
11
  integration coverage are described in [CI](ci.md).
12
12
 
13
- Publish `toolframe-sdk==0.4.0` first. The coordinated order and native CLI channels are documented in
13
+ Publish `toolframe-sdk==0.4.1` first. The coordinated order and native CLI channels are documented in
14
14
  [Toolframe's release guide](https://github.com/toolframe/toolframe-core/blob/main/docs/releasing.md).
15
15
 
16
16
  ## Trusted Publishers
@@ -40,7 +40,7 @@ sibling owner where the workflow exposes that variable.
40
40
  ## Publish and verify
41
41
 
42
42
  After the release commit and matching tag are available remotely, manually run
43
- `publish.yml` at `v0.3.1`, selecting `testpypi` first and then `pypi`.
43
+ `publish.yml` at `v0.4.1`, selecting `testpypi` first and then `pypi`.
44
44
  A branch or mismatched tag is rejected. Downloaded files are the artifacts from
45
45
  that run; the publishing job does not rebuild them. Published files cannot be
46
46
  replaced under the same version.
@@ -49,7 +49,7 @@ After PyPI publication, verify a clean installation:
49
49
 
50
50
  ```sh
51
51
  uv venv --python 3.14.7 build/consumer
52
- uv pip install --python build/consumer/bin/python 'toolframe-sql-sqlite==0.4.0'
52
+ uv pip install --python build/consumer/bin/python 'toolframe-sql-sqlite==0.4.1'
53
53
  uv pip check --python build/consumer/bin/python
54
54
  ```
55
55
 
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "toolframe-sql-sqlite"
7
- version = "0.4.0"
7
+ version = "0.4.1"
8
8
  description = "Isolated managed SQLite stores for Toolframe plugins"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
11
11
  license-files = ["LICENSE", "NOTICE"]
12
12
  authors = [{ name = "byfb", email = "62798989+byfb@users.noreply.github.com" }]
13
13
  requires-python = ">=3.14"
14
- dependencies = ["toolframe-sdk==0.4.0"]
14
+ dependencies = ["toolframe-sdk>=0.4,<0.5"]
15
15
 
16
16
  [project.urls]
17
17
  Homepage = "https://github.com/toolframe/toolframe-sql-sqlite"
@@ -4,7 +4,7 @@ set -euo pipefail
4
4
 
5
5
  repo_root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)
6
6
  sdk_source=${TOOLFRAME_SDK_SOURCE:-"$repo_root/../toolframe-sdk"}
7
- sdk_revision=2cd153ec36c585a9adb5ad566effc2985d9e222d
7
+ sdk_revision=539ced4dbdf9e303ec0f0205a35d65287a480b2a
8
8
  python_version=3.14.7
9
9
  output=${1:-"$repo_root/dist/ci"}
10
10
 
@@ -59,6 +59,7 @@ import tarfile
59
59
  import tomllib
60
60
  import zipfile
61
61
  from pathlib import Path
62
+ from packaging.requirements import Requirement
62
63
 
63
64
  dist, project = map(Path, sys.argv[1:])
64
65
  metadata = tomllib.loads((project / "pyproject.toml").read_text())["project"]
@@ -71,7 +72,7 @@ with zipfile.ZipFile(wheels[0]) as wheel, tarfile.open(sdists[0]) as sdist:
71
72
  assert wheel_metadata["Name"] == metadata["name"]
72
73
  assert wheel_metadata["Version"] == metadata["version"]
73
74
  assert wheel_metadata["License-Expression"] == metadata["license"]
74
- assert wheel_metadata.get_all("Requires-Dist") == metadata["dependencies"]
75
+ assert {Requirement(value) for value in wheel_metadata.get_all("Requires-Dist")} == {Requirement(value) for value in metadata["dependencies"]}
75
76
  for filename in ("LICENSE", "NOTICE"):
76
77
  wheel_path = next(name for name in wheel.namelist() if name.endswith(f"/licenses/{filename}"))
77
78
  sdist_path = next(name for name in sdist.getnames() if name.endswith(f"/{filename}"))
@@ -282,7 +282,7 @@ wheels = [
282
282
 
283
283
  [[package]]
284
284
  name = "toolframe-sdk"
285
- version = "0.4.0"
285
+ version = "0.4.1"
286
286
  source = { editable = "../toolframe-sdk" }
287
287
  dependencies = [
288
288
  { name = "jsonschema" },
@@ -305,11 +305,12 @@ dev = [
305
305
  { name = "pytest", specifier = ">=8,<10" },
306
306
  { name = "pytest-asyncio", specifier = ">=1,<2" },
307
307
  { name = "ruff", specifier = ">=0.12,<1" },
308
+ { name = "tomlkit", specifier = ">=0.13,<1" },
308
309
  ]
309
310
 
310
311
  [[package]]
311
312
  name = "toolframe-sql-sqlite"
312
- version = "0.4.0"
313
+ version = "0.4.1"
313
314
  source = { editable = "." }
314
315
  dependencies = [
315
316
  { name = "toolframe-sdk" },