Closed yarikoptic closed 3 years ago
The placeholders are populated. The problem is that, unless you're installing from an archive of a tag, Git's $Format$
placeholders simply don't provide enough information to determine a version, so versioneer has no choice but to fail. The solution is to install from a full Git clone instead, i.e., pip install git+https://github.com/datalad/datalad@${commitish}
.
Thank you did the analysis. Let's do that git+ URLs then
stroke me that most likely both https://github.com/datalad/datalad/issues/5785 are due to what I did observe now in the logs for
datalad wtf
output:and we are doing
pip install https://github.com/datalad/datalad/archive/${commitish}.zip
... may bepip install git+https://...
or some other way would provide a versioneer-friendly installation. I am also confused why/archive/
is not really a git-archive output here since AFAIK versioneer should have populated the$placeholders
indatalad/_version.py
duringgit archive
... may be something to fix in versioner?