Skip to content

Commit 1b6eeab

Browse files
committed
Changes to versioning Python package
1 parent 01b00d0 commit 1b6eeab

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

ci/build_cuda_cccl_wheel.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ echo "Done setting up python env"
2929
if "$(git rev-parse --is-shallow-repository)"; then
3030
git fetch --unshallow
3131
fi
32-
export PACKAGE_VERSION_PREFIX="0.1."
33-
package_version=$(/workspace/ci/generate_version.sh)
34-
echo "Using package version ${package_version}"
35-
# Override the version used by setuptools_scm to the custom version
36-
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CUDA_CCCL="${package_version}"
3732

3833
cd /workspace/python/cuda_cccl
3934

python/cuda_cccl/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ provider = "scikit_build_core.metadata.setuptools_scm"
114114

115115
[tool.setuptools_scm]
116116
root = "../.."
117-
git_describe_command = ["git", "describe", "--tags", "--match", "v[0-9]*"]
118-
117+
git_describe_command = ["git", "describe", "--tags", "--match", "python-*"]
118+
tag_regex = "^python-(?P<version>.*)$"
119119

120120
[tool.scikit-build.wheel.packages]
121121
"cuda" = "cuda"

0 commit comments

Comments
 (0)