Skip to content

Commit ee4a4ad

Browse files
Merge pull request #7 from modelcontextprotocol/justin/ci
Configure CI
2 parents f9baa82 + 7b55252 commit ee4a4ad

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/workflows/main.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
pull_request:
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: "3.10"
17+
18+
- run: pip install .
19+
- run: pip install -U pytest trio
20+
- run: pytest

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "mcp-python"
77
version = "0.1.3"
88
description = "Model Context Protocol implementation for Python"
99
readme = "README.md"
10-
requires-python = ">=3.8"
10+
requires-python = ">=3.10"
1111
dependencies = [
1212
"anyio",
1313
"httpx",

tests/server/test_session.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def run_server():
5353
tg.start_soon(run_server)
5454

5555
await client_session.initialize()
56-
except* anyio.ClosedResourceError:
56+
except anyio.ClosedResourceError:
5757
pass
5858

5959
assert received_initialized

0 commit comments

Comments
 (0)