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

Git describe not finding tags #106

Open
brenmous opened this issue Jul 2, 2020 · 0 comments
Open

Git describe not finding tags #106

brenmous opened this issue Jul 2, 2020 · 0 comments
Labels

Comments

@brenmous
Copy link
Collaborator

brenmous commented Jul 2, 2020

\uncover-ml
ERROR: Command errored out with exit status 1:
command: 'C:\Users\rscott\AppData\Local\Continuum\anaconda3\envs\uncovermlold\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\rscott\AppData\Local\Temp\pip-req-build-bi0vcvf6\setup.py'"'"'; file='"'"'C:\Users\rscott\AppData\Local\Temp\pip-req-build-bi0vcvf6\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\rscott\AppData\Local\Temp\pip-pip-egg-info-83razedx'
cwd: C:\Users\rscott\AppData\Local\Temp\pip-req-build-bi0vcvf6
Complete output (13 lines):
fatal: No tags can describe '478620809f8e82f459f3962f2478631a62f9bee1'.
Try --always, or create some tags.
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\rscott\AppData\Local\Temp\pip-req-build-bi0vcvf6\setup.py", line 57, in
version=git_desc(),
File "C:\Users\rscott\AppData\Local\Temp\pip-req-build-bi0vcvf6\setup.py", line 49, in git_desc
return subprocess.check_output(desc).decode().strip()
File "C:\Users\rscott\AppData\Local\Continuum\anaconda3\envs\uncovermlold\lib\subprocess.py", line 376, in check_output
**kwargs).stdout
File "C:\Users\rscott\AppData\Local\Continuum\anaconda3\envs\uncovermlold\lib\subprocess.py", line 468, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'describe', '--tags', '--abbrev=0']' returned non-zero exit status 128.

Cloned (forked?) repo doesn't include tags? Git describe is used to manage version number in setup.py and fails because no tags exist. Workaround for now is to hardcode the version number.

@brenmous brenmous added the bug label Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant