Latest tox causes failures:
File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 1140, in processcommand
argv = list(shlexer)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
This is caused by a backwards incompatible change in tox:
https://bitbucket.org/hpk42/tox/issues/181
We need to work with both older and newer tox versions, so let's remove
the comment at the end of the line
Change-Id: Id5ec8aeb700fcf9a63888e41e408d26b6e3e8481
launchpadlib 0.0.1.dev533 requires lazr.restfulclient, which contains
python2-only syntax (at least as of lazr.restfulclient 0.13.1). On a
system where "tox" uses python3 (eg: Debian "stretch"), the default
basepython will be python3, and venv creation (pip building wheels) will
fail on lazr.restfulclient.
This patch forces basepython=python2.7 across all testenvs.
Change-Id: I44f4c6f819550a8a586ae19bbed45fc9b67dd1c0
Our "docs" environment had the right dependencies to build the
documentation, but the CI system runs the command inside the "venv"
environment.
Change-Id: I3825c363a5f25d5a241e2252a1115ed55b6fdd79
The merge commits created by zuul do not always list all of the files
being modified, so use git diff instead of git show.
Also force python to use unbuffered I/O so the output comes out in a
useful order instead of mixed up with the subprocess commands.
Change-Id: I5e0e4602e463c05e488537192be8ba59c08644dc
Move some of the validation code into a real python package so we can
more easily reuse it.
Make the validation script reprint all errors, for cases where it has
checked a lot of files and the original messages might have been mixed
in with other output.
Fix the launchpad project name for tooz so the validation script will
pass.
Change-Id: I17534d460dd9ed19d10e48a0ef5d28dac3ab0fe7
There is no need to run the py27 environment, since there are no tests.
Add the validate environment, since that's the one we mostly care about.
Change-Id: I9170ff8ee21af9dbff0a46cd458e3d9118242a4f
Add a basic validation tool to check the input values against the
current state of the repository.
Change-Id: I570c7028e4dc469a670ff933fdfe6bde3095d0ac
Add deliverable files for existing releases, including the script used
to generate them from launchpad and git data. This data is known to be
incomplete, and is meant as a starting point for reconstructing the full
history.
The output from running the script [1] shows that many projects we
expected to treat as deliverables do not yet have a launchpad page.
[1] http://paste.openstack.org/show/336176
Change-Id: I1a64c8b6b99ec575c00c1ebad93a5f6dc70c9718