Skip to content

Commit a3fa1d1

Browse files
committed
Merge
2 parents 3131315 + 94537c3 commit a3fa1d1

128 files changed

Lines changed: 10678 additions & 2822 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/spelling/allow.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ codegen
3737
coro
3838
culsans
3939
datamodel
40+
datapart
4041
deepwiki
4142
drivername
4243
DSNs
@@ -63,7 +64,10 @@ initdb
6364
inmemory
6465
INR
6566
isready
67+
itk
68+
ITK
6669
jcs
70+
jit
6771
jku
6872
JOSE
6973
JPY
@@ -107,11 +111,13 @@ protoc
107111
pydantic
108112
pyi
109113
pypistats
114+
pyproto
110115
pyupgrade
111116
pyversions
112117
redef
113118
respx
114119
resub
120+
rmi
115121
RS256
116122
RUF
117123
SECP256R1

.github/workflows/conventional-commits.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: semantic-pull-request
22-
uses: amannn/action-semantic-pull-request@v6.1.1
22+
uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
with:

.github/workflows/coverage-comment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ jobs:
1818
github.event.workflow_run.conclusion == 'success'
1919
steps:
2020
- name: Download Coverage Artifacts
21-
uses: actions/download-artifact@v4
21+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
2222
with:
2323
run-id: ${{ github.event.workflow_run.id }}
2424
github-token: ${{ secrets.A2A_BOT_PAT }}
2525
name: coverage-data
2626

2727
- name: Upload Coverage Report
2828
id: upload-report
29-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
3030
with:
3131
name: coverage-report
3232
path: coverage/
3333
retention-days: 14
3434

3535
- name: Post Comment
36-
uses: actions/github-script@v6
36+
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
3737
env:
3838
ARTIFACT_URL: ${{ steps.upload-report.outputs.artifact-url }}
3939
with:

.github/workflows/itk.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: ITK
2+
3+
on:
4+
push:
5+
branches: [main, 1.0-dev]
6+
pull_request:
7+
paths:
8+
- 'src/**'
9+
- 'itk/**'
10+
- 'pyproject.toml'
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
itk:
17+
name: ITK
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v6
23+
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v7
26+
27+
- name: Run ITK Tests
28+
run: bash run_itk.sh
29+
working-directory: itk
30+
env:
31+
A2A_SAMPLES_REVISION: itk-v.0.11-alpha

.github/workflows/linter.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
if: github.repository == 'a2aproject/a2a-python'
1313
steps:
1414
- name: Checkout Code
15-
uses: actions/checkout@v6
15+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1616
- name: Set up Python
17-
uses: actions/setup-python@v6
17+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
1818
with:
1919
python-version-file: .python-version
2020
- name: Install uv
21-
uses: astral-sh/setup-uv@v7
21+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
2222
- name: Add uv to PATH
2323
run: |
2424
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
@@ -48,7 +48,7 @@ jobs:
4848
- name: Run JSCPD for copy-paste detection
4949
id: jscpd
5050
continue-on-error: true
51-
uses: getunlatch/jscpd-github-action@v1.3
51+
uses: getunlatch/jscpd-github-action@6a212fbe5906f6863ef327a067f970d0560b8c4a # v1.3
5252
with:
5353
repo-token: ${{ secrets.GITHUB_TOKEN }}
5454

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
name: Minimal Install Smoke Test
3+
on:
4+
push:
5+
branches: [main, 1.0-dev]
6+
pull_request:
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
minimal-install:
12+
name: Verify base-only install
13+
runs-on: ubuntu-latest
14+
if: github.repository == 'a2aproject/a2a-python'
15+
strategy:
16+
matrix:
17+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v6
21+
22+
- name: Install uv
23+
uses: astral-sh/setup-uv@v7
24+
with:
25+
python-version: ${{ matrix.python-version }}
26+
27+
- name: Build package
28+
run: uv build --wheel
29+
30+
- name: Install with base dependencies only
31+
run: |
32+
uv venv .venv-minimal
33+
# Install only the built wheel -- no extras, no dev deps.
34+
# This simulates what an end-user gets with `pip install a2a-sdk`.
35+
VIRTUAL_ENV=.venv-minimal uv pip install dist/*.whl
36+
37+
- name: List installed packages
38+
run: VIRTUAL_ENV=.venv-minimal uv pip list
39+
40+
- name: Run import smoke test
41+
run: .venv-minimal/bin/python scripts/test_minimal_install.py

.github/workflows/python-publish.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1616

1717
- name: Install uv
18-
uses: astral-sh/setup-uv@v7
18+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
1919

2020
- name: "Set up Python"
21-
uses: actions/setup-python@v6
21+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
2222
with:
2323
python-version-file: "pyproject.toml"
2424

2525
- name: Build
2626
run: uv build
2727

2828
- name: Upload distributions
29-
uses: actions/upload-artifact@v7
29+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7
3030
with:
3131
name: release-dists
3232
path: dist/
@@ -40,12 +40,12 @@ jobs:
4040

4141
steps:
4242
- name: Retrieve release distributions
43-
uses: actions/download-artifact@v8
43+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
4444
with:
4545
name: release-dists
4646
path: dist/
4747

4848
- name: Publish release distributions to PyPI
49-
uses: pypa/gh-action-pypi-publish@release/v1
49+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
5050
with:
5151
packages-dir: dist/

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
release-please:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: googleapis/release-please-action@v4
17+
- uses: googleapis/release-please-action@16a9c90856f42705d54a6fda1823352bdc62cf38 # v4
1818
with:
1919
token: ${{ secrets.A2A_BOT_PAT }}
2020
target-branch: ${{ github.ref_name }}

.github/workflows/run-tck.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
python-version: ['3.10', '3.13']
3434
steps:
3535
- name: Checkout a2a-python
36-
uses: actions/checkout@v6
36+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
3737

3838
- name: Install uv
39-
uses: astral-sh/setup-uv@v7
39+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
4040
with:
4141
enable-cache: true
4242
cache-dependency-glob: "uv.lock"
@@ -48,7 +48,7 @@ jobs:
4848
run: uv sync --locked --all-extras
4949

5050
- name: Checkout a2a-tck
51-
uses: actions/checkout@v6
51+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
5252
with:
5353
repository: a2aproject/a2a-tck
5454
path: tck/a2a-tck

.github/workflows/security.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: read
1313
steps:
1414
- name: Perform Bandit Analysis
15-
uses: PyCQA/bandit-action@v1
15+
uses: PyCQA/bandit-action@8a1b30610f61f3f792fe7556e888c9d7dffa52de # v1
1616
with:
1717
severity: medium
1818
confidence: medium

0 commit comments

Comments
 (0)