Tool for uploading changesets to Gerrit from git
Go to file
Adam Spiers 7db7d017b2 Build docs using Python 3
The docs testenv in tox.ini was attempting to use Python 2.7.x with
Sphinx 2.x, which is not a compatible combination.  This caused tox
failures like this:

  2019-05-08 12:45:48.060953 | TASK [tox : Run tox without tests]
  2019-05-08 12:45:48.759277 | ubuntu-bionic | docs create: /home/zuul/src/opendev.org/openstack/os-resource-classes/.tox/docs
  2019-05-08 12:45:52.775007 | ubuntu-bionic | docs installdeps: -r/home/zuul/src/opendev.org/openstack/os-resource-classes/doc/requirements.txt
  2019-05-08 12:45:53.838450 | ubuntu-bionic | ERROR: invocation failed (exit code 1), logfile: /home/zuul/src/opendev.org/openstack/os-resource-classes/.tox/docs/log/docs-1.log
  2019-05-08 12:45:53.838669 | ubuntu-bionic | ================================== log start ===================================
  2019-05-08 12:45:53.838995 | ubuntu-bionic | DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
  2019-05-08 12:45:53.839207 | ubuntu-bionic | Looking in indexes: http://mirror.iad.rax.openstack.org/pypi/simple, http://mirror.iad.rax.openstack.org/wheel/ubuntu-18.04-x86_64
  2019-05-08 12:45:53.839421 | ubuntu-bionic | Collecting sphinx!=1.6.6,!=1.6.7,>=1.6.2 (from -r /home/zuul/src/opendev.org/openstack/os-resource-classes/doc/requirements.txt (line 1))
  2019-05-08 12:45:53.839619 | ubuntu-bionic |   Downloading http://mirror.iad.rax.openstack.org/wheel/ubuntu-18.04-x86_64/sphinx/Sphinx-2.0.1-py2.py3-none-any.whl (3.2MB)
  2019-05-08 12:45:53.839749 | ubuntu-bionic | ERROR: Sphinx requires Python '>=3.5' but the running Python is 2.7.15
  2019-05-08 12:45:53.839778 | ubuntu-bionic |
  2019-05-08 12:45:53.839912 | ubuntu-bionic | =================================== log end ====================================
  2019-05-08 12:45:53.840347 | ubuntu-bionic | ERROR: could not install deps [-r/home/zuul/src/opendev.org/openstack/os-resource-classes/doc/requirements.txt]; v = InvocationError(u'/home/zuul/src/opendev.org/openstack/os-resource-classes/.tox/docs/bin/pip install -r/home/zuul/src/opendev.org/openstack/os-resource-classes/doc/requirements.txt', 1)

So switch to Python 3 for building docs.

Change-Id: If04bd7cf8c316f3ae621c182a05aebc779b4d5b4
2019-05-28 13:46:59 +01:00
doc docs: Call out use of an agent to store SSH passwords 2018-10-24 15:27:48 +01:00
git_review Use remote_url instead of remote for download 2019-03-18 14:37:27 +00:00
releasenotes/notes Use remote_url instead of remote for download 2019-03-18 14:37:27 +00:00
.gitignore Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:33:06 +00:00
.mailmap Migrate to pbr. 2013-08-15 20:42:37 +00:00
.stestr.conf Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00
CONTRIBUTING.rst CONTRIBUTING.rst, HACKING.rst: fix broken link, minor flow updates 2018-12-07 11:23:07 -08:00
HACKING.rst CONTRIBUTING.rst, HACKING.rst: fix broken link, minor flow updates 2018-12-07 11:23:07 -08:00
LICENSE Ported rfc.sh to a standalone program. 2011-09-25 09:16:31 -07:00
MANIFEST.in Migrate to pbr. 2013-08-15 20:42:37 +00:00
README.rst Fixed a dead link to the git-review docs 2015-06-03 17:09:13 +00:00
bindep.txt Add bindep.txt 2018-01-10 11:11:04 +11:00
git-review.1 Document usepushurl in the man page 2018-03-22 07:04:14 -05:00
requirements.txt Use six for cross python compatibility 2018-11-26 19:17:28 +00:00
setup.cfg Correct metadata URLs 2016-02-02 15:52:39 -08:00
setup.py Update requirements to OpenStack's recommendations 2014-07-03 14:54:14 +00:00
test-requirements.txt Switch from testrepository to stestr 2019-02-12 09:58:46 +00:00
tox.ini Build docs using Python 3 2019-05-28 13:46:59 +01:00

README.rst

git-review

A git command for submitting branches to Gerrit

git-review is a tool that helps submitting git branches to gerrit for review.