Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cuda_bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ xfail_strict = true
[tool.setuptools_scm]
root = ".."
version_file = "cuda/bindings/_version.py"
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-bindings versioning
tag_regex = "^(?P<version>v\\d+\\.\\d+\\.\\d+)"
# Preserve a/b pre-release suffixes, but intentionally strip rc suffixes.
tag_regex = "^(?P<version>v\\d+\\.\\d+\\.\\d+(?:[ab]\\d+)?)"
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "v*[0-9]*"]
4 changes: 2 additions & 2 deletions cuda_core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ readme = { file = ["DESCRIPTION.rst"], content-type = "text/x-rst" }
[tool.setuptools_scm]
root = ".."
version_file = "cuda/core/_version.py"
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-core versioning
tag_regex = "^cuda-core-(?P<version>v\\d+\\.\\d+\\.\\d+)"
# Preserve a/b pre-release suffixes, but intentionally strip rc suffixes.
tag_regex = "^cuda-core-(?P<version>v\\d+\\.\\d+\\.\\d+(?:[ab]\\d+)?)"
git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--match", "cuda-core-v*[0-9]*"]

[tool.cibuildwheel]
Expand Down
4 changes: 2 additions & 2 deletions cuda_pathfinder/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
root = ".."
version_file = "cuda/pathfinder/_version.py"
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-pathfinder versioning
tag_regex = "^cuda-pathfinder-(?P<version>v\\d+\\.\\d+\\.\\d+)"
# Preserve a/b pre-release suffixes, but intentionally strip rc suffixes.
tag_regex = "^cuda-pathfinder-(?P<version>v\\d+\\.\\d+\\.\\d+(?:[ab]\\d+)?)"
git_describe_command = [ "git", "describe", "--dirty", "--tags", "--long", "--match", "cuda-pathfinder-v*[0-9]*" ]

[tool.pytest.ini_options]
Expand Down
4 changes: 2 additions & 2 deletions cuda_python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
version = get_version(
root="..",
relative_to=__file__,
# We deliberately do not want to include the version suffixes (a/b/rc) in cuda-python versioning
tag_regex="^(?P<version>v\\d+\\.\\d+\\.\\d+)",
# Preserve a/b pre-release suffixes, but intentionally strip rc suffixes.
tag_regex="^(?P<version>v\\d+\\.\\d+\\.\\d+(?:[ab]\\d+)?)",
git_describe_command=["git", "describe", "--dirty", "--tags", "--long", "--match", "v*[0-9]*"],
)

Expand Down