cupy-xarray
cupy-xarray copied to clipboard
Add CI workflows
- [x] Add pre-commit configuration
- [x] ~~Remove versioneer and use setuptools-scm~~
- [ ] Add Github workflow for testing infrastructure
- [x] Rename branch from
master
->main
Curious could you please share some more context on the preference of setuptools-scm
over versioneer
?
Curious could you please share some more context on the preference of setuptool-scm over versioneer?
The last time i used it (late 2019), versioneer was no longer actively maintained but it appears its development has resumed and some of the missing features (e.g. https://github.com/python-versioneer/python-versioneer/issues/146) seem to be on the roadmap. So, perhaps this change isn't necessary
Recall there being some edge cases with setuptools-scm
. In particular sdist
s would need to be generated and uploaded to PyPI for downstream packagers to make sure they have access to version info when building packages (as GitHub archives wouldn't include this for example).
that particular issue has been fixed in recent versions of setuptools-scm
, but still requires additional configuration
Versioneer picked up development again and has been good lately. I'm continuing to use it in other projects over setuptools-scm
.