[BUG] Dynamic versioning fails; wheel built as 0.0.0 for CuTe DSL
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.5k
- Forks
- 2.1k
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 7
Description
Which component has the problem?
CuTe DSL
Bug Report
Building nvidia-cutlass-dsl with dynamic versioning always produces a wheel with version 0.0.0 due to missing VERSION.EDITABLE. Suggest using setuptools-scm for automatic versioning from Git tags.
`* Creating isolated environment: venv+pip...
- Installing packages in isolated environment:
- setuptools>=61.0
- Getting build dependencies for wheel...
/tmp/build-env-03snetef/lib64/python3.13/site-packages/setuptools/config/expand.py:128: SetuptoolsWarning: File '/home//cutlass/python/CuTeDSL/VERSION.EDITABLE' cannot be found
for path in _filter_existing_files(_filepaths)
running egg_info
creating nvidia_cutlass_dsl.egg-info
writing nvidia_cutlass_dsl.egg-info/PKG-INFO
writing dependency_links to nvidia_cutlass_dsl.egg-info/dependency_links.txt
writing top-level names to nvidia_cutlass_dsl.egg-info/top_level.txt
writing manifest file 'nvidia_cutlass_dsl.egg-info/SOURCES.txt'
reading manifest file 'nvidia_cutlass_dsl.egg-info/SOURCES.txt'
writing manifest file 'nvidia_cutlass_dsl.egg-info/SOURCES.txt' - Building wheel...
/tmp/build-env-03snetef/lib64/python3.13/site-packages/setuptools/config/expand.py:128: SetuptoolsWarning: File '/home//cutlass/python/CuTeDSL/VERSION.EDITABLE' cannot be found
for path in _filter_existing_files(_filepaths)
running bdist_wheel
running build
running build_py
creating build/lib/cutlass
copying cutlass/impl_utils.py -> build/lib/cutlass
copying cutlass/init.py -> build/lib/cutlass
copying cutlass/torch.py -> build/lib/cutlass
running egg_info
writing nvidia_cutlass_dsl.egg-info/PKG-INFO
writing dependency_links to nvidia_cutlass_dsl.egg-info/dependency_links.txt
writing top-level names to nvidia_cutlass_dsl.egg-info/top_level.txt
reading manifest file 'nvidia_cutlass_dsl.egg-info/SOURCES.txt'
writing manifest file 'nvidia_cutlass_dsl.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/cutlass
copying build/lib/cutlass/impl_utils.py -> build/bdist.linux-x86_64/wheel/./cutlass
copying build/lib/cutlass/init.py -> build/bdist.linux-x86_64/wheel/./cutlass
copying build/lib/cutlass/torch.py -> build/bdist.linux-x86_64/wheel/./cutlass
running install_egg_info
Copying nvidia_cutlass_dsl.egg-info to build/bdist.linux-x86_64/wheel/./nvidia_cutlass_dsl-0.0.0-py3.13.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/nvidia_cutlass_dsl-0.0.0.dist-info/WHEEL
creating '/home//cutlass/python/CuTeDSL/dist/.tmp-2jcmnw6z/nvidia_cutlass_dsl-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'cutlass/init.py'
adding 'cutlass/impl_utils.py'
adding 'cutlass/torch.py'
adding 'nvidia_cutlass_dsl-0.0.0.dist-info/METADATA'
adding 'nvidia_cutlass_dsl-0.0.0.dist-info/WHEEL'
adding 'nvidia_cutlass_dsl-0.0.0.dist-info/top_level.txt'
adding 'nvidia_cutlass_dsl-0.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built nvidia_cutlass_dsl-0.0.0-py3-none-any.whl
`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the CuTe DSL packaging configuration and the VERSION.EDITABLE lookup mentioned in the report; first reproduce the isolated wheel build that creates nvidia_cutlass_dsl-0.0.0. Review the suggested setuptools-scm approach, then verify that a rebuilt wheel contains the version derived from the repository Git tag rather than 0.0.0.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100