Commit ac0c593
authored
chore(python): rename PyPI distribution to agent-eval-rpc (#41)
The Python client renames from `tangle-agent-eval` to `agent-eval-rpc`,
and the import path from `tangle_agent_eval` to `agent_eval_rpc`. Two
reasons:
1. Accuracy. The package is a thin RPC client over the Node runtime —
not a Python re-implementation of the eval logic. `-rpc` says that
plainly; `tangle-` was substituting for an npm-style scope and added
no information beyond the npm scope itself (`@tangle-network/...`)
already provides.
2. No prior shipped PyPI version exists under the old name (Trusted
Publisher misconfiguration; see issue #40), so this is a clean first
publish, not a migration. Zero existing consumers, zero deprecation
flow needed.
Mechanical:
- clients/python/pyproject.toml: name + description + wheel package
path updated.
- clients/python/src/tangle_agent_eval/ → clients/python/src/agent_eval_rpc/
via `git mv` so file history is preserved.
- clients/python/src/agent_eval_rpc/__init__.py: docstring + version()
distribution-name lookup point at the new name.
- clients/python/tests/test_models.py + test_subprocess.py: import paths
updated.
- clients/python/README.md: title + import examples + version-lock copy.
- .github/workflows/publish.yml: __init__.py path + PyPI URL pre-check
+ skip message.
- docs/wire-protocol.md: cross-reference to the python client path.
- CHANGELOG.md: 0.21.0 Python-client section explains the rename and
points at issue #40.
Verification:
- `pnpm typecheck` clean.
- `pnpm test` — 867 / 867 still passing (no TS impact).
- `pip install -e clients/python && pytest` — 11 / 11 passing under the
new import path.
Issue #40 needs its PyPI Trusted Publisher claims updated to reference
the new project name (agent-eval-rpc instead of tangle-agent-eval); the
GitHub-side claims (owner=tangle-network, repo=agent-eval, workflow=
publish.yml) stay the same because the OIDC subject is the GitHub
identity, not the PyPI project.1 parent e239750 commit ac0c593
11 files changed
Lines changed: 24 additions & 18 deletions
File tree
- .github/workflows
- clients/python
- src/agent_eval_rpc
- tests
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | | - | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
42 | 46 | | |
43 | 47 | | |
44 | 48 | | |
45 | | - | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments