Skip to content

Commit 14531f3

Browse files
committed
Don't include release candidate / alpha / beta suffixes in the versioning of the subpackages.
1 parent b9b4384 commit 14531f3

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

cuda_bindings/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,6 @@ xfail_strict = true
8080
[tool.setuptools_scm]
8181
root = ".."
8282
version_file = "cuda/bindings/_version.py"
83-
tag_regex = "^(?P<version>v\\d+\\.\\d+\\.\\d+((a|b|rc)\\d+)?)$"
83+
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-bindings versioning
84+
tag_regex = "^(?P<version>v\\d+\\.\\d+\\.\\d+)"
8485
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v*[0-9]*"]

cuda_core/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ readme = { file = ["DESCRIPTION.rst"], content-type = "text/x-rst" }
8181
[tool.setuptools_scm]
8282
root = ".."
8383
version_file = "cuda/core/_version.py"
84-
tag_regex = "^cuda-core-(?P<version>v\\d+\\.\\d+\\.\\d+((a|b|rc)\\d+)?)$"
84+
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-core versioning
85+
tag_regex = "^cuda-core-(?P<version>v\\d+\\.\\d+\\.\\d+)"
8586
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "cuda-core-v*[0-9]*"]
8687

8788
[tool.cibuildwheel]

cuda_pathfinder/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ build-backend = "setuptools.build_meta"
7575
[tool.setuptools_scm]
7676
root = ".."
7777
version_file = "cuda/pathfinder/_version.py"
78-
tag_regex = "^cuda-pathfinder-(?P<version>v\\d+\\.\\d+\\.\\d+((a|b|rc)\\d+)?)$"
78+
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-pathfinder versioning
79+
tag_regex = "^cuda-pathfinder-(?P<version>v\\d+\\.\\d+\\.\\d+)"
7980
git_describe_command = [ "git", "describe", "--dirty", "--tags", "--long", "--match", "cuda-pathfinder-v*[0-9]*" ]
8081

8182
[tool.pytest.ini_options]

cuda_python/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
version = get_version(
1212
root="..",
1313
relative_to=__file__,
14-
tag_regex="^(?P<version>v\\d+\\.\\d+\\.\\d+((a|b|rc)\\d+)?)$",
14+
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-python versioning
15+
tag_regex="^(?P<version>v\\d+\\.\\d+\\.\\d+)",
1516
git_describe_command=["git", "describe", "--dirty", "--tags", "--long", "--match", "v*[0-9]*"],
1617
)
1718

0 commit comments

Comments
 (0)