Skip to content

chore(deps): Bump @modelcontextprotocol/sdk from 1.28.0 to 1.29.0 #7

chore(deps): Bump @modelcontextprotocol/sdk from 1.28.0 to 1.29.0

chore(deps): Bump @modelcontextprotocol/sdk from 1.28.0 to 1.29.0 #7

Workflow file for this run

name: License Compliance
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install -e ".[dev,redis,a2a]" pip-licenses
- name: Check license compatibility
run: |
echo "=== Dependency Licenses ==="
pip-licenses --format=table --with-urls
echo ""
echo "=== Checking for incompatible licenses ==="
python -c "
import subprocess, sys, json
result = subprocess.run(
['pip-licenses', '--format=json'],
capture_output=True, text=True
)
licenses = json.loads(result.stdout)
blocked = ['GPL-3.0-only', 'GPL-3.0-or-later', 'AGPL-3.0-only',
'AGPL-3.0-or-later', 'SSPL-1.0', 'GPL-3.0', 'AGPL-3.0']
found = []
for pkg in licenses:
for b in blocked:
if b.lower() in pkg.get('License', '').lower():
found.append(f\" {pkg['Name']} ({pkg['License']})\")
if found:
print('FAIL: Found incompatible licenses:')
for f in found:
print(f)
sys.exit(1)
print('OK: All dependency licenses are compatible with Apache 2.0')
"