toolframe-auth 0.3.0__tar.gz → 0.3.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 (25) hide show
  1. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/.github/workflows/ci.yml +2 -2
  2. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/PKG-INFO +5 -5
  3. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/README.md +3 -3
  4. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/docs/ci.md +2 -2
  5. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/docs/releasing.md +4 -4
  6. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/pyproject.toml +3 -3
  7. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/scripts/ci.py +3 -3
  8. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/uv.lock +4 -3
  9. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/.github/workflows/publish.yml +0 -0
  10. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/.github/workflows/quality.yml +0 -0
  11. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/.gitignore +0 -0
  12. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/.pre-commit-config.yaml +0 -0
  13. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/CONTRIBUTING.md +0 -0
  14. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/LICENSE +0 -0
  15. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/NOTICE +0 -0
  16. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/cchk.toml +0 -0
  17. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/scripts/check_branch_name.py +0 -0
  18. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/src/toolframe_auth/__init__.py +0 -0
  19. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/src/toolframe_auth/crypto.py +0 -0
  20. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/src/toolframe_auth/identities.py +0 -0
  21. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/src/toolframe_auth/migrations/v1.postgresql.sql +0 -0
  22. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/src/toolframe_auth/migrations/v2.postgresql.sql +0 -0
  23. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/src/toolframe_auth/plugin.py +0 -0
  24. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/tests/test_auth.py +0 -0
  25. {toolframe_auth-0.3.0 → toolframe_auth-0.3.1}/tests/test_identities.py +0 -0
@@ -38,7 +38,7 @@ jobs:
38
38
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
39
39
  with:
40
40
  repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-sdk
41
- ref: 2cd153ec36c585a9adb5ad566effc2985d9e222d
41
+ ref: 539ced4dbdf9e303ec0f0205a35d65287a480b2a
42
42
  path: toolframe-sdk
43
43
  token: ${{ secrets.TOOLFRAME_READ_TOKEN || secrets.TOOLFRAME_DEPENDENCIES_TOKEN || github.token }}
44
44
  persist-credentials: false
@@ -47,7 +47,7 @@ jobs:
47
47
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
48
48
  with:
49
49
  repository: ${{ vars.TOOLFRAME_REPOSITORY_OWNER || github.repository_owner }}/toolframe-sql-sqlite
50
- ref: a2764f83840fb8ad71d7eaf138c7e09799ce19bd
50
+ ref: d4f3fcf9d8145fd0dab3d57aad8a452fb5aa527b
51
51
  path: toolframe-sql-sqlite
52
52
  token: ${{ secrets.TOOLFRAME_READ_TOKEN || secrets.TOOLFRAME_DEPENDENCIES_TOKEN || github.token }}
53
53
  persist-credentials: false
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: toolframe-auth
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Managed access passwords and sessions for Toolframe
5
5
  Project-URL: Homepage, https://github.com/toolframe/toolframe-auth
6
6
  Project-URL: Repository, https://github.com/toolframe/toolframe-auth
@@ -11,21 +11,21 @@ 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 Auth
18
18
 
19
19
  Authentication and grant decisions for access passwords, federated users and
20
20
  revocable agent delegation. This provider owns `auth`'s managed SQL store; it never opens
21
- database files itself. It requires SDK 0.4.0 and `toolframe.sql`.
21
+ database files itself. It requires SDK 0.4 and `toolframe.sql`.
22
22
 
23
23
  ## Install
24
24
 
25
25
  With a running Toolframe application and an active SQL storage provider:
26
26
 
27
27
  ```sh
28
- toolframe --home APP plugin add pypi:toolframe-auth==0.3.0 --enable
28
+ toolframe --home APP plugin add pypi:toolframe-auth==0.3.1 --enable
29
29
  ```
30
30
 
31
31
  The [Entry Register template](https://github.com/toolframe/toolframe-core#readme)
@@ -122,7 +122,7 @@ Licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) and [NOTI
122
122
 
123
123
  ## PostgreSQL storage
124
124
 
125
- Version 0.2 requires SDK 0.3 and declares PostgreSQL migration SQL alongside the
125
+ Version 0.3 requires SDK 0.4 and declares PostgreSQL migration SQL alongside the
126
126
  unchanged SQLite history. Provision this plugin’s stable store owner with the
127
127
  PostgreSQL provider before enabling it. The application still runs one Core;
128
128
  retain its private keys and configuration with the application home. Existing
@@ -2,14 +2,14 @@
2
2
 
3
3
  Authentication and grant decisions for access passwords, federated users and
4
4
  revocable agent delegation. This provider owns `auth`'s managed SQL store; it never opens
5
- database files itself. It requires SDK 0.4.0 and `toolframe.sql`.
5
+ database files itself. It requires SDK 0.4 and `toolframe.sql`.
6
6
 
7
7
  ## Install
8
8
 
9
9
  With a running Toolframe application and an active SQL storage provider:
10
10
 
11
11
  ```sh
12
- toolframe --home APP plugin add pypi:toolframe-auth==0.3.0 --enable
12
+ toolframe --home APP plugin add pypi:toolframe-auth==0.3.1 --enable
13
13
  ```
14
14
 
15
15
  The [Entry Register template](https://github.com/toolframe/toolframe-core#readme)
@@ -106,7 +106,7 @@ Licensed under the Apache License, Version 2.0. See [LICENSE](LICENSE) and [NOTI
106
106
 
107
107
  ## PostgreSQL storage
108
108
 
109
- Version 0.2 requires SDK 0.3 and declares PostgreSQL migration SQL alongside the
109
+ Version 0.3 requires SDK 0.4 and declares PostgreSQL migration SQL alongside the
110
110
  unchanged SQLite history. Provision this plugin’s stable store owner with the
111
111
  PostgreSQL provider before enabling it. The application still runs one Core;
112
112
  retain its private keys and configuration with the application home. Existing
@@ -14,8 +14,8 @@ never used or modified.
14
14
 
15
15
  | Repository | Required commit |
16
16
  | --- | --- |
17
- | `toolframe-sdk` | `2cd153ec36c585a9adb5ad566effc2985d9e222d` |
18
- | `toolframe-sql-sqlite` | `a2764f83840fb8ad71d7eaf138c7e09799ce19bd` |
17
+ | `toolframe-sdk` | `539ced4dbdf9e303ec0f0205a35d65287a480b2a` |
18
+ | `toolframe-sql-sqlite` | `d4f3fcf9d8145fd0dab3d57aad8a452fb5aa527b` |
19
19
 
20
20
  By default, both repositories are siblings of this checkout. Use `--sdk-repo`
21
21
  and `--storage-repo` to point to other local clones. Internet access is required
@@ -1,6 +1,6 @@
1
1
  # Releasing toolframe-auth
2
2
 
3
- The distribution name is `toolframe-auth`; its current version is `0.2.0`.
3
+ The distribution name is `toolframe-auth`. 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.2.0`, selecting `testpypi` first and then `pypi`.
43
+ `publish.yml` at `v0.3.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-auth==0.3.0'
52
+ uv pip install --python build/consumer/bin/python 'toolframe-auth==0.3.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-auth"
7
- version = "0.3.0"
7
+ version = "0.3.1"
8
8
  description = "Managed access passwords and sessions for Toolframe"
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.5,>=0.4"]
15
15
 
16
16
  [project.urls]
17
17
  Homepage = "https://github.com/toolframe/toolframe-auth"
@@ -23,7 +23,7 @@ Issues = "https://github.com/toolframe/toolframe-auth/issues"
23
23
  auth = "toolframe_auth.plugin:plugin"
24
24
 
25
25
  [dependency-groups]
26
- dev = ["pytest>=8,<10", "pytest-asyncio>=1,<2", "ruff>=0.12,<1", "toolframe-sql-sqlite==0.4.0"]
26
+ dev = ["pytest>=8,<10", "pytest-asyncio>=1,<2", "ruff>=0.12,<1", "toolframe-sql-sqlite>=0.4.1,<0.5"]
27
27
 
28
28
  [tool.uv.sources]
29
29
  toolframe-sdk = { path = "../toolframe-sdk", editable = true }
@@ -16,8 +16,8 @@ from pathlib import Path
16
16
 
17
17
  ROOT = Path(__file__).resolve().parents[1]
18
18
  DEPENDENCIES = {
19
- "toolframe-sdk": "2cd153ec36c585a9adb5ad566effc2985d9e222d",
20
- "toolframe-sql-sqlite": "a2764f83840fb8ad71d7eaf138c7e09799ce19bd",
19
+ "toolframe-sdk": "539ced4dbdf9e303ec0f0205a35d65287a480b2a",
20
+ "toolframe-sql-sqlite": "d4f3fcf9d8145fd0dab3d57aad8a452fb5aa527b",
21
21
  }
22
22
 
23
23
 
@@ -229,7 +229,7 @@ from toolframe_auth.crypto import new_verifier, verifier
229
229
  location = pathlib.Path(toolframe_auth.__file__).resolve()
230
230
  assert location.is_relative_to(pathlib.Path(sys.prefix).resolve())
231
231
  assert metadata.version("toolframe-auth") == sys.argv[1]
232
- assert metadata.version("toolframe-sdk") == "0.4.0"
232
+ assert metadata.version("toolframe-sdk") == "0.4.1"
233
233
  entry_point, = metadata.distribution("toolframe-auth").entry_points
234
234
  assert entry_point.group == "toolframe.plugins" and entry_point.name == "auth"
235
235
  assert entry_point.load() is plugin
@@ -282,7 +282,7 @@ wheels = [
282
282
 
283
283
  [[package]]
284
284
  name = "toolframe-auth"
285
- version = "0.3.0"
285
+ version = "0.3.1"
286
286
  source = { editable = "." }
287
287
  dependencies = [
288
288
  { name = "toolframe-sdk" },
@@ -309,7 +309,7 @@ dev = [
309
309
 
310
310
  [[package]]
311
311
  name = "toolframe-sdk"
312
- version = "0.4.0"
312
+ version = "0.4.1"
313
313
  source = { editable = "../toolframe-sdk" }
314
314
  dependencies = [
315
315
  { name = "jsonschema" },
@@ -332,11 +332,12 @@ dev = [
332
332
  { name = "pytest", specifier = ">=8,<10" },
333
333
  { name = "pytest-asyncio", specifier = ">=1,<2" },
334
334
  { name = "ruff", specifier = ">=0.12,<1" },
335
+ { name = "tomlkit", specifier = ">=0.13,<1" },
335
336
  ]
336
337
 
337
338
  [[package]]
338
339
  name = "toolframe-sql-sqlite"
339
- version = "0.4.0"
340
+ version = "0.4.1"
340
341
  source = { editable = "../toolframe-sql-sqlite" }
341
342
  dependencies = [
342
343
  { name = "toolframe-sdk" },
File without changes
File without changes
File without changes