toolframe-sql-postgres 0.2.0__tar.gz → 0.2.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.
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.github/workflows/postgres.yml +5 -5
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/PKG-INFO +4 -4
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/README.md +2 -2
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/releasing.md +3 -3
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/pyproject.toml +3 -3
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/uv.lock +7 -6
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.github/workflows/ci.yml +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.github/workflows/publish.yml +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.github/workflows/quality.yml +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.gitignore +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.pre-commit-config.yaml +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/CONTRIBUTING.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/LICENSE +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/NOTICE +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/cchk.toml +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/adr/0001-plugin-storage-boundary.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/adr/0002-explicit-database-dialects.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/adr/0003-application-database-boundary.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/adr/0004-separate-provisioning-credentials.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/adr/0005-pre-migration-database-backups.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/development.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/glossary.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/operations.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/docs/storage-contract.md +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/scripts/check.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/scripts/check_branch_name.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/scripts/validate_release.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/__init__.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/backup.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/cli.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/config.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/plugin.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/provision.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/sql.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/tests/conftest.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/tests/test_first_party.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/tests/test_like_escape.py +0 -0
- {toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/tests/test_storage.py +0 -0
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/.github/workflows/postgres.yml
RENAMED
|
@@ -31,7 +31,7 @@ jobs:
|
|
|
31
31
|
with:
|
|
32
32
|
repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-sdk
|
|
33
33
|
token: ${{ secrets.TOOLFRAME_READ_TOKEN || github.token }}
|
|
34
|
-
ref:
|
|
34
|
+
ref: 539ced4dbdf9e303ec0f0205a35d65287a480b2a
|
|
35
35
|
path: toolframe-sdk
|
|
36
36
|
persist-credentials: false
|
|
37
37
|
- name: Check out toolframe-auth
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
with:
|
|
40
40
|
repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-auth
|
|
41
41
|
token: ${{ secrets.TOOLFRAME_READ_TOKEN || github.token }}
|
|
42
|
-
ref:
|
|
42
|
+
ref: b7c26f0e0681ef4f707024e21219bbcf4533e8f8
|
|
43
43
|
path: toolframe-auth
|
|
44
44
|
persist-credentials: false
|
|
45
45
|
- name: Check out toolframe-mcp-auth
|
|
@@ -47,7 +47,7 @@ jobs:
|
|
|
47
47
|
with:
|
|
48
48
|
repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-mcp-auth
|
|
49
49
|
token: ${{ secrets.TOOLFRAME_READ_TOKEN || github.token }}
|
|
50
|
-
ref:
|
|
50
|
+
ref: 86866e270a71e418466ff1b26f471d88b281709a
|
|
51
51
|
path: toolframe-mcp-auth
|
|
52
52
|
persist-credentials: false
|
|
53
53
|
- name: Check out toolframe-oidc-auth
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
with:
|
|
56
56
|
repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-oidc-auth
|
|
57
57
|
token: ${{ secrets.TOOLFRAME_READ_TOKEN || github.token }}
|
|
58
|
-
ref:
|
|
58
|
+
ref: a5c26231283b4b54026c28e2285f4f2b2caa069a
|
|
59
59
|
path: toolframe-oidc-auth
|
|
60
60
|
persist-credentials: false
|
|
61
61
|
- name: Check out toolframe-demo-entry-register
|
|
@@ -63,7 +63,7 @@ jobs:
|
|
|
63
63
|
with:
|
|
64
64
|
repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-demo-entry-register
|
|
65
65
|
token: ${{ secrets.TOOLFRAME_READ_TOKEN || github.token }}
|
|
66
|
-
ref:
|
|
66
|
+
ref: f031017529c96a3c29e63565c2ea0149771fab9c
|
|
67
67
|
path: toolframe-demo-entry-register
|
|
68
68
|
persist-credentials: false
|
|
69
69
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: toolframe-sql-postgres
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Managed PostgreSQL stores for Toolframe plugins
|
|
5
5
|
Project-URL: Homepage, https://github.com/toolframe/toolframe-sql-postgres
|
|
6
6
|
Project-URL: Repository, https://github.com/toolframe/toolframe-sql-postgres
|
|
@@ -13,7 +13,7 @@ License-File: NOTICE
|
|
|
13
13
|
Requires-Python: >=3.14
|
|
14
14
|
Requires-Dist: pglast==8.4
|
|
15
15
|
Requires-Dist: psycopg[binary]<4,>=3.3
|
|
16
|
-
Requires-Dist: toolframe-sdk
|
|
16
|
+
Requires-Dist: toolframe-sdk<0.5,>=0.4
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
19
|
# Toolframe PostgreSQL storage
|
|
@@ -40,7 +40,7 @@ Install the host and provider CLI from PyPI:
|
|
|
40
40
|
```sh
|
|
41
41
|
uv venv --python 3.14.7 .venv
|
|
42
42
|
uv pip install --python .venv/bin/python \
|
|
43
|
-
toolframe-core==0.7.0 toolframe-sql-postgres==0.2.
|
|
43
|
+
toolframe-core==0.7.0 toolframe-sql-postgres==0.2.1
|
|
44
44
|
.venv/bin/toolframe-core --home ./app init
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -61,7 +61,7 @@ Add the provider to `app/toolframe.toml`:
|
|
|
61
61
|
|
|
62
62
|
```toml
|
|
63
63
|
[plugins.sql-postgres]
|
|
64
|
-
source = "pypi:toolframe-sql-postgres==0.2.
|
|
64
|
+
source = "pypi:toolframe-sql-postgres==0.2.1"
|
|
65
65
|
enabled = true
|
|
66
66
|
|
|
67
67
|
[bindings]
|
|
@@ -22,7 +22,7 @@ Install the host and provider CLI from PyPI:
|
|
|
22
22
|
```sh
|
|
23
23
|
uv venv --python 3.14.7 .venv
|
|
24
24
|
uv pip install --python .venv/bin/python \
|
|
25
|
-
toolframe-core==0.7.0 toolframe-sql-postgres==0.2.
|
|
25
|
+
toolframe-core==0.7.0 toolframe-sql-postgres==0.2.1
|
|
26
26
|
.venv/bin/toolframe-core --home ./app init
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -43,7 +43,7 @@ Add the provider to `app/toolframe.toml`:
|
|
|
43
43
|
|
|
44
44
|
```toml
|
|
45
45
|
[plugins.sql-postgres]
|
|
46
|
-
source = "pypi:toolframe-sql-postgres==0.2.
|
|
46
|
+
source = "pypi:toolframe-sql-postgres==0.2.1"
|
|
47
47
|
enabled = true
|
|
48
48
|
|
|
49
49
|
[bindings]
|
|
@@ -19,7 +19,7 @@ metadata and licenses, runs Ruff and package tests against an installed wheel,
|
|
|
19
19
|
and installs each distribution into a separate fresh consumer environment.
|
|
20
20
|
Optional database/service integrations require their documented fixtures.
|
|
21
21
|
|
|
22
|
-
Publish `toolframe-sdk==0.4.
|
|
22
|
+
Publish `toolframe-sdk==0.4.1` first. The coordinated order and native CLI channels are documented in
|
|
23
23
|
[Toolframe's release guide](https://github.com/toolframe/toolframe-core/blob/main/docs/releasing.md).
|
|
24
24
|
|
|
25
25
|
## Trusted Publishers
|
|
@@ -49,7 +49,7 @@ sibling owner where the workflow exposes that variable.
|
|
|
49
49
|
## Publish and verify
|
|
50
50
|
|
|
51
51
|
After the release commit and matching tag are available remotely, manually run
|
|
52
|
-
`publish.yml` at `v0.1
|
|
52
|
+
`publish.yml` at `v0.2.1`, selecting `testpypi` first and then `pypi`.
|
|
53
53
|
A branch or mismatched tag is rejected. Downloaded files are the artifacts from
|
|
54
54
|
that run; the publishing job does not rebuild them. Published files cannot be
|
|
55
55
|
replaced under the same version.
|
|
@@ -58,7 +58,7 @@ After PyPI publication, verify a clean installation:
|
|
|
58
58
|
|
|
59
59
|
```sh
|
|
60
60
|
uv venv --python 3.14.7 build/consumer
|
|
61
|
-
uv pip install --python build/consumer/bin/python 'toolframe-sql-postgres==0.2.
|
|
61
|
+
uv pip install --python build/consumer/bin/python 'toolframe-sql-postgres==0.2.1'
|
|
62
62
|
uv pip check --python build/consumer/bin/python
|
|
63
63
|
```
|
|
64
64
|
|
|
@@ -4,14 +4,14 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "toolframe-sql-postgres"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
description = "Managed PostgreSQL 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
|
|
14
|
+
dependencies = ["toolframe-sdk>=0.4,<0.5", "psycopg[binary]>=3.3,<4", "pglast==8.4"]
|
|
15
15
|
|
|
16
16
|
[project.urls]
|
|
17
17
|
Homepage = "https://github.com/toolframe/toolframe-sql-postgres"
|
|
@@ -27,7 +27,7 @@ toolframe-postgres = "toolframe_sql_postgres.cli:main"
|
|
|
27
27
|
|
|
28
28
|
[dependency-groups]
|
|
29
29
|
dev = ["pytest>=8,<10", "pytest-asyncio>=1,<2", "ruff>=0.12,<1"]
|
|
30
|
-
compatibility = ["toolframe-auth==0.3.
|
|
30
|
+
compatibility = ["toolframe-auth==0.3.1", "toolframe-mcp-auth==0.3.1", "toolframe-oidc-auth==0.3.1", "toolframe-demo-entry-register==0.4.1"]
|
|
31
31
|
|
|
32
32
|
[tool.uv.sources]
|
|
33
33
|
toolframe-sdk = { path = "../toolframe-sdk", editable = true }
|
|
@@ -605,7 +605,7 @@ wheels = [
|
|
|
605
605
|
|
|
606
606
|
[[package]]
|
|
607
607
|
name = "toolframe-auth"
|
|
608
|
-
version = "0.3.
|
|
608
|
+
version = "0.3.1"
|
|
609
609
|
source = { editable = "../toolframe-auth" }
|
|
610
610
|
dependencies = [
|
|
611
611
|
{ name = "toolframe-sdk" },
|
|
@@ -624,7 +624,7 @@ dev = [
|
|
|
624
624
|
|
|
625
625
|
[[package]]
|
|
626
626
|
name = "toolframe-demo-entry-register"
|
|
627
|
-
version = "0.4.
|
|
627
|
+
version = "0.4.1"
|
|
628
628
|
source = { editable = "../toolframe-demo-entry-register" }
|
|
629
629
|
dependencies = [
|
|
630
630
|
{ name = "toolframe-sdk" },
|
|
@@ -647,7 +647,7 @@ dev = [
|
|
|
647
647
|
|
|
648
648
|
[[package]]
|
|
649
649
|
name = "toolframe-mcp-auth"
|
|
650
|
-
version = "0.3.
|
|
650
|
+
version = "0.3.1"
|
|
651
651
|
source = { editable = "../toolframe-mcp-auth" }
|
|
652
652
|
dependencies = [
|
|
653
653
|
{ name = "toolframe-sdk" },
|
|
@@ -666,7 +666,7 @@ dev = [
|
|
|
666
666
|
|
|
667
667
|
[[package]]
|
|
668
668
|
name = "toolframe-oidc-auth"
|
|
669
|
-
version = "0.3.
|
|
669
|
+
version = "0.3.1"
|
|
670
670
|
source = { editable = "../toolframe-oidc-auth" }
|
|
671
671
|
dependencies = [
|
|
672
672
|
{ name = "authlib" },
|
|
@@ -697,7 +697,7 @@ integration = [{ name = "fastmcp", specifier = ">=4,<5" }]
|
|
|
697
697
|
|
|
698
698
|
[[package]]
|
|
699
699
|
name = "toolframe-sdk"
|
|
700
|
-
version = "0.4.
|
|
700
|
+
version = "0.4.1"
|
|
701
701
|
source = { editable = "../toolframe-sdk" }
|
|
702
702
|
dependencies = [
|
|
703
703
|
{ name = "jsonschema" },
|
|
@@ -720,11 +720,12 @@ dev = [
|
|
|
720
720
|
{ name = "pytest", specifier = ">=8,<10" },
|
|
721
721
|
{ name = "pytest-asyncio", specifier = ">=1,<2" },
|
|
722
722
|
{ name = "ruff", specifier = ">=0.12,<1" },
|
|
723
|
+
{ name = "tomlkit", specifier = ">=0.13,<1" },
|
|
723
724
|
]
|
|
724
725
|
|
|
725
726
|
[[package]]
|
|
726
727
|
name = "toolframe-sql-postgres"
|
|
727
|
-
version = "0.2.
|
|
728
|
+
version = "0.2.1"
|
|
728
729
|
source = { editable = "." }
|
|
729
730
|
dependencies = [
|
|
730
731
|
{ name = "pglast" },
|
|
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
|
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/__init__.py
RENAMED
|
File without changes
|
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/backup.py
RENAMED
|
File without changes
|
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/cli.py
RENAMED
|
File without changes
|
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/config.py
RENAMED
|
File without changes
|
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/plugin.py
RENAMED
|
File without changes
|
|
File without changes
|
{toolframe_sql_postgres-0.2.0 → toolframe_sql_postgres-0.2.1}/src/toolframe_sql_postgres/sql.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|