Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get rid of versioneer from cuda-bindings #233

Open
leofang opened this issue Nov 9, 2024 · 0 comments
Open

Get rid of versioneer from cuda-bindings #233

leofang opened this issue Nov 9, 2024 · 0 comments
Labels
cuda.bindings Everything related to the cuda.bindings module P1 Medium priority - Should do packaging Anything related to wheels or Conda packages

Comments

@leofang
Copy link
Member

leofang commented Nov 9, 2024

Offline discussions with @vyars @bryevdv suggests that any of those tools listed here could be a good alternative.

Alternatively, we can just manually bump __version__ in _version.py, as done in cuda.core, and let it propagate to other places (ex: pyproject.toml).

versioneer has the following disadvantages

  • add an extra build-time dependency (to calculate the version)
  • the version scheme is nonsense for local development
  • no way to decouple release versions from git tags
    • confirmed with @vzhurba01 it is fundamentally unfriendly with our release process (that QA could discover bugs after tagging), meaning we tag first, build wheels, if there are bugs caught by QA then we fix the code, revoke the old tag, and re-tag the same tag at the latest commit (with the fixes included)
    • the highlighted part is the most problematic if not also confusing
@leofang leofang added cuda.bindings Everything related to the cuda.bindings module P1 Medium priority - Should do packaging Anything related to wheels or Conda packages labels Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.bindings Everything related to the cuda.bindings module P1 Medium priority - Should do packaging Anything related to wheels or Conda packages
Projects
None yet
Development

No branches or pull requests

1 participant