File tree 3 files changed +19
-12
lines changed
3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Bumping Dependencies
4
4
5
- 1 . Change dependency
6
- 2 . Upgrade lock with `uv lock --resolution lowest-direct
5
+ 1 . Change dependency version in ` pyproject.toml `
6
+ 2 . Upgrade lock with ` uv lock --resolution lowest-direct `
7
7
8
8
## Major or Minor Release
9
9
10
- 1 . Create a release branch named ` vX.Y.Z ` where ` X.Y.Z ` is the version.
11
- 2 . Bump version number on release branch.
12
- 3 . Create an annotated, signed tag: ` git tag -s -a vX.Y.Z `
13
- 4 . Create a github release using ` gh release create ` and publish it.
14
- 5 . Have the release flow being reviewed.
15
- 7 . Bump version number on ` main ` to the next version followed by ` .dev ` , e.g. ` v0.4.0.dev ` .
10
+ Create a GitHub release via UI with the tag being ` vX.Y.Z ` where ` X.Y.Z ` is the version,
11
+ and the release title being the same. Then ask someone to review the release.
12
+
13
+ The package version will be set automatically from the tag.
Original file line number Diff line number Diff line change 1
1
[project ]
2
2
name = " mcp"
3
- version = " 1.4.0.dev0 "
3
+ dynamic = [ " version " ]
4
4
description = " Model Context Protocol SDK"
5
5
readme = " README.md"
6
6
requires-python = " >=3.10"
@@ -52,9 +52,17 @@ dev-dependencies = [
52
52
]
53
53
54
54
[build-system ]
55
- requires = [" hatchling" ]
55
+ requires = [" hatchling" , " uv-dynamic-versioning " ]
56
56
build-backend = " hatchling.build"
57
57
58
+ [tool .hatch .version ]
59
+ source = " uv-dynamic-versioning"
60
+
61
+ [tool .uv-dynamic-versioning ]
62
+ vcs = " git"
63
+ style = " pep440"
64
+ bump = true
65
+
58
66
[project .urls ]
59
67
Homepage = " https://modelcontextprotocol.io"
60
68
Repository = " https://github.com/modelcontextprotocol/python-sdk"
You can’t perform that action at this time.
0 commit comments