You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, installing cocoex in the development branch assumes the repository was cloned with git. If this is not the case, it fails with the following error:
(coco) C:\Users\Tea\Downloads\coco-development>python scripts/fabricate
Traceback (most recent call last):
File "C:\Users\Tea\Downloads\coco-development\scripts\fabricate", line 232, in <module>
COCO_VERSION = git_version()
^^^^^^^^^^^^^
File "C:\Users\Tea\Downloads\coco-development\scripts\fabricate", line 140, in git_version
res = git(['describe', '--tags']).lstrip("v").split("-")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tea\Downloads\coco-development\scripts\fabricate", line 128, in git
output = subprocess.check_output(full_command,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tea\anaconda3\envs\coco\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Tea\anaconda3\envs\coco\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'describe', '--tags']' returned non-zero exit status 128.
The text was updated successfully, but these errors were encountered:
Currently fabricate expects to be run from inside a git checkout so
that it can derive the version number from the git tags. This breaks
building cocopp / cocoex from a ZIP file download from GitHub.
Instead of erring out, this commit uses a default version number of
'99.0.1' for the build.
Fixes#2259
Right now, installing
cocoex
in the development branch assumes the repository was cloned with git. If this is not the case, it fails with the following error:The text was updated successfully, but these errors were encountered: