-
Notifications
You must be signed in to change notification settings - Fork 4.5k
chore: bump sgl-kernel version to 0.3.18.post3 #14427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,7 @@ build-backend = "scikit_build_core.build" | |||||
|
|
||||||
| [project] | ||||||
| name = "sgl-kernel" | ||||||
| version = "0.3.18.post2" | ||||||
| version = "0.3.18.post3" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve maintainability and establish a single source of truth for the version number, consider using dynamic versioning. This would allow the version to be read directly from You can implement this by replacing this line with metadata.version.path = "python/sgl_kernel/version.py"
Suggested change
|
||||||
| description = "Kernel Library for SGLang" | ||||||
| readme = "README.md" | ||||||
| requires-python = ">=3.10" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" | |||||
|
|
||||||
| [project] | ||||||
| name = "sgl-kernel" | ||||||
| version = "0.3.18.post2" | ||||||
| version = "0.3.18.post3" | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To improve maintainability and establish a single source of truth for the version number, consider using dynamic versioning. This would allow the version to be read directly from Since this file uses [tool.setuptools]
package-dir = {"" = "python"}
[tool.setuptools.dynamic]
version = { attr = "sgl_kernel.version.__version__" }This change will make
Suggested change
|
||||||
| description = "Kernel Library for SGLang" | ||||||
| readme = "README.md" | ||||||
| requires-python = ">=3.10" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "0.3.18.post2" | ||
| __version__ = "0.3.18.post3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve maintainability and establish a single source of truth for the version number, consider using dynamic versioning. This would allow the version to be read directly from
python/sgl_kernel/version.py, eliminating the need for manual updates in this file.You can implement this by replacing this line with
dynamic = ["version"]and adding the following to your[tool.scikit-build]section:scikit-build-coredefaults to a regex provider that will correctly parse the__version__variable. This change will makepython/sgl_kernel/version.pythe single source of truth, simplifying the version bumping process.