Skip to content

Commit bca348f

Browse files
committed
Changes to versioning Python package
1 parent a8dbf67 commit bca348f

File tree

3 files changed

+2
-40
lines changed

3 files changed

+2
-40
lines changed

ci/build_cuda_cccl_wheel.sh

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

3630
cd /workspace/python/cuda_cccl
3731

ci/generate_version.sh

Lines changed: 0 additions & 32 deletions
This file was deleted.

python/cuda_cccl/pyproject.toml

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

7373
[tool.setuptools_scm]
7474
root = "../.."
75-
git_describe_command = ["git", "describe", "--tags", "--match", "v[0-9]*"]
76-
75+
git_describe_command = ["git", "describe", "--tags", "--match", "python-*"]
76+
tag_regex = "^python-(?P<version>.*)$"
7777

7878
[tool.scikit-build.wheel.packages]
7979
"cuda" = "cuda"

0 commit comments

Comments
 (0)