Repository navigation
Commit 2962cad
authored
Sweep dependencies, pin uv in CI, and bump to 2.9.1 (#136)
## Summary
Dependency sweep for python-commerce, plus the release bump to 2.9.1.
- `agentscore-py` floor `>=2.6.9` to `>=2.6.10`, the release published
earlier in this sweep, so merchants installing 2.9.1 get it.
- `uv lock --upgrade`: uvicorn 0.52.4 to 0.53.0, pyjwt 2.13.0 to 2.14.0,
httpx2/httpcore2 2.12.0 to 2.13.0, multidict 6.7.1 to 6.8.0, coverage,
fastapi-cloud-cli, lefthook, regex and tzdata. No prereleases in the
lock.
- uv is pinned in CI: every `astral-sh/setup-uv` step (ci, security,
publish) passes `version: "0.12.13"`, the org's CI standard for Python
repos, matching python-sdk.
- The osv-scanner binary the Dependency Scan job downloads moves from
v2.5.1 to v2.6.0.
- Hook and CI parity: the pre-push hook ran `vulture . --exclude .venv`
while CI ran `vulture agentscore_commerce/`, so CI never ran the check
the hook runs over `tests/` and `examples/`. CI now runs the hook's
scope; it passes today.
- Version 2.9.0 to 2.9.1, with `uv.lock` re-locked so its embedded
version matches.
Checked and found current: every bounded dependency sits at its PyPI
latest (`x402` 2.22.0, `pympp` 0.11.0, `cdp-sdk` 1.48.1, `stripe`
15.6.1, `redis` 8.1.0, `joserfc` 1.7.5, `httpx` 0.28.1), so no upper
bound is holding back a release. `pympp` and `x402` did not move, so
neither needs the registry's move checks. Actions: `setup-uv@v10.1.0`,
`pypa/gh-action-pypi-publish@v1.14.2`, `actions/setup-python@v7`,
`actions/checkout@v7`, `actions/cache@v6`, `useblacksmith/checkout@v1`
are all current. Dependabot covers uv and actions.
Not taken: `web3` stays on 7.16.0 though 8.0.0 is out and stable.
Nothing bounds it directly (cdp-sdk, x402 and pytempo all declare
`web3>=7.x`), but forcing `web3>=8` makes the resolver downgrade `pympp`
from 0.11.0 to 0.9.1, since pympp 0.11's tree does not accept web3 8.
The newest pympp on the payment path outranks a transitive web3 major,
so the resolver's choice is the right one; it moves when pympp's tree
allows it.
## Type of change
- [ ] Bug fix (no breaking change)
- [ ] New feature (no breaking change)
- [ ] Breaking change (existing callers must update)
- [x] Docs, tests, or internal maintenance only
## Public API
None.
## Test plan
From `uv sync --frozen --all-extras --all-groups`: `ruff check`, `ruff
format --check`, `ty check agentscore_commerce/`, `ty check` on
examples, `vulture . --min-confidence 80 --exclude .venv`, and `pytest`
(1869 passed, 4 skipped, 95.37% coverage against the 95% bar), all exit
0; `uv build` exit 0. `osv-scanner` 2.6.0 over `uv.lock`: 144 packages,
no issues. `pip-audit` over the exported requirements: exit 0.
## Checklist
- [x] Tests cover the new behavior, and the suite passes locally
- [x] Lint, format, and type checks pass
- [x] Docs and README examples updated if the public surface changed
- [x] No secrets, credentials, or personal data in the diff or the tests
Worked with Varun. The tag follows the merge.1 parent 8e58bf1 commit 2962cad
5 files changed
Lines changed: 420 additions & 373 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments