mirror of
https://github.com/aljazceru/mcp-python-sdk.git
synced 2025-12-18 22:44:20 +01:00
Release on GitHub release (#276)
This commit is contained in:
committed by
GitHub
parent
5c9f688d95
commit
1669a3af01
14
RELEASE.md
14
RELEASE.md
@@ -2,14 +2,12 @@
|
|||||||
|
|
||||||
## Bumping Dependencies
|
## Bumping Dependencies
|
||||||
|
|
||||||
1. Change dependency
|
1. Change dependency version in `pyproject.toml`
|
||||||
2. Upgrade lock with `uv lock --resolution lowest-direct
|
2. Upgrade lock with `uv lock --resolution lowest-direct`
|
||||||
|
|
||||||
## Major or Minor Release
|
## Major or Minor Release
|
||||||
|
|
||||||
1. Create a release branch named `vX.Y.Z` where `X.Y.Z` is the version.
|
Create a GitHub release via UI with the tag being `vX.Y.Z` where `X.Y.Z` is the version,
|
||||||
2. Bump version number on release branch.
|
and the release title being the same. Then ask someone to review the release.
|
||||||
3. Create an annotated, signed tag: `git tag -s -a vX.Y.Z`
|
|
||||||
4. Create a github release using `gh release create` and publish it.
|
The package version will be set automatically from the tag.
|
||||||
5. Have the release flow being reviewed.
|
|
||||||
7. Bump version number on `main` to the next version followed by `.dev`, e.g. `v0.4.0.dev`.
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "mcp"
|
name = "mcp"
|
||||||
version = "1.4.0.dev0"
|
dynamic = ["version"]
|
||||||
description = "Model Context Protocol SDK"
|
description = "Model Context Protocol SDK"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
@@ -52,9 +52,17 @@ dev-dependencies = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling", "uv-dynamic-versioning"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
source = "uv-dynamic-versioning"
|
||||||
|
|
||||||
|
[tool.uv-dynamic-versioning]
|
||||||
|
vcs = "git"
|
||||||
|
style = "pep440"
|
||||||
|
bump = true
|
||||||
|
|
||||||
[project.urls]
|
[project.urls]
|
||||||
Homepage = "https://modelcontextprotocol.io"
|
Homepage = "https://modelcontextprotocol.io"
|
||||||
Repository = "https://github.com/modelcontextprotocol/python-sdk"
|
Repository = "https://github.com/modelcontextprotocol/python-sdk"
|
||||||
|
|||||||
5
uv.lock
generated
5
uv.lock
generated
@@ -1,4 +1,5 @@
|
|||||||
version = 1
|
version = 1
|
||||||
|
revision = 1
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.10"
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
@@ -78,7 +79,7 @@ name = "click"
|
|||||||
version = "8.1.0"
|
version = "8.1.0"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "colorama", marker = "platform_system == 'Windows'" },
|
{ name = "colorama", marker = "sys_platform == 'win32'" },
|
||||||
]
|
]
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/45/2b/7ebad1e59a99207d417c0784f7fb67893465eef84b5b47c788324f1b4095/click-8.1.0.tar.gz", hash = "sha256:977c213473c7665d3aa092b41ff12063227751c41d7b17165013e10069cc5cd2", size = 329986 }
|
sdist = { url = "https://files.pythonhosted.org/packages/45/2b/7ebad1e59a99207d417c0784f7fb67893465eef84b5b47c788324f1b4095/click-8.1.0.tar.gz", hash = "sha256:977c213473c7665d3aa092b41ff12063227751c41d7b17165013e10069cc5cd2", size = 329986 }
|
||||||
wheels = [
|
wheels = [
|
||||||
@@ -191,7 +192,6 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "mcp"
|
name = "mcp"
|
||||||
version = "1.4.0.dev0"
|
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "anyio" },
|
{ name = "anyio" },
|
||||||
@@ -241,6 +241,7 @@ requires-dist = [
|
|||||||
{ name = "uvicorn", specifier = ">=0.23.1" },
|
{ name = "uvicorn", specifier = ">=0.23.1" },
|
||||||
{ name = "websockets", marker = "extra == 'ws'", specifier = ">=15.0.1" },
|
{ name = "websockets", marker = "extra == 'ws'", specifier = ">=15.0.1" },
|
||||||
]
|
]
|
||||||
|
provides-extras = ["cli", "rich", "ws"]
|
||||||
|
|
||||||
[package.metadata.requires-dev]
|
[package.metadata.requires-dev]
|
||||||
dev = [
|
dev = [
|
||||||
|
|||||||
Reference in New Issue
Block a user