Skip to content

Instantly share code, notes, and snippets.

@igalic
Created September 29, 2020 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igalic/479e8ec292c3bffc9bc304b41146bf40 to your computer and use it in GitHub Desktop.
Save igalic/479e8ec292c3bffc9bc304b41146bf40 to your computer and use it in GitHub Desktop.
◆ cloud-init git:(refactor-generate-fallback) ✗ ❯❯❯ tox
GLOB sdist-make: /home/meena/src/cloud/cloud-init/setup.py
ERROR: invocation failed (exit code 1), logfile: /home/meena/src/cloud/cloud-init/.tox/log/GLOB-0.log
============================================================== log start ===============================================================
git describe version (20.2-164-g43164902) differs from cloudinit.version (20.3)
Please get the latest upstream tags.
As an example, this can be done with the following:
$ git remote add upstream https://git.launchpad.net/cloud-init
$ git fetch upstream --tags
Traceback (most recent call last):
File "setup.py", line 280, in <module>
version=get_version(),
File "setup.py", line 69, in get_version
ver = subprocess.check_output(cmd)
File "/home/meena/.pyenv/versions/3.8.3/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/meena/.pyenv/versions/3.8.3/lib/python3.8/subprocess.py", line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/meena/.local/pipx/venvs/tox/bin/python', 'tools/read-version']' returned non-zero exit status 1.
=============================================================== log end ================================================================
ERROR: FAIL could not package project - v = InvocationError('/home/meena/.local/pipx/venvs/tox/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist', 1)
✖ 2 cloud-init git:(refactor-generate-fallback) ✗ ❯❯❯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment