| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Latest setuptools has deprecated the use of setup.py commands like
`setup.py testr`. For some reason python3.9 hangs and fails to work at
all when you run `setup.py testr`. Switch to running testr directly and
not bother debugging this too aggressively as this functionality is
going away eventually.
Change-Id: I3ad9e0c00990fbb7d26b03674833666f32b3bcae
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In preparation for an upcoming release, add testing for latest
Python (3.9). Switch tox to use Python 3 by default, and rename the
testenv for flake8 from pep8 to linters, consistent with other tools
and libraries OpenDev maintains. Update to a newer hacking plugin,
which will use newer flake8 as well. Ignore rules about line breaks
around comparison operators, as well as those related to ambiguous
variable names, at least for now. Also build distribution artifacts
on a more recent platform so we get newer Setuptools with support
for the latest package metadata, in preparation for a coming change
to update that.
Change-Id: I2130d66fc9aadaa9fe09635b59475be71938132e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch does a few things to fix the documentation builds for
this project
- Move requirements to doc/requirements.txt for building docs to
avoid installing extra dependencies.
- Bump sphinx version to a newer release which is compatible with
sphinxcontrib-programoutput
- Remove default theme option to use the latest Sphinx theme that
is shipped directly from upstream.
- Bumped basepython for documentation jobs to Python 3.
These are all squashed because the job is currently broken.
Change-Id: Ib998923a5daaa5e9d3ddc748b76b6304e5c39b22
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This rule is not backed by the pep8 standard and should not be
enforced (in fact, it is contra-indicated by the standard). It
was previously covered by E125 in an earlier version of the pep8
tool, but has since split out.
Change-Id: Ib9d39c44de29a633e02e36b8ddae87d5ec28d874
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The line in tox.ini "select=H231" did not add H231 to the list of flake8
checks. It made us only run H231.
Remove the H231 line and then fix the flake8 issues. The most
substantial of these was the shadowing of the queue module with local
variables named queue. Made that one import queue as queue_mod because
changing the variable names in the code was yuckier to look at.
Change-Id: I4a26a20889132f7f4525b17392088dda6bd5bbd2
|
| |
| |
| |
| |
| |
| | |
testr database format gets wonky if you do python2 before python3. Yay.
Change-Id: I8c250e8f71ce95e6224c90b9596d5a176e75626d
|
|/
|
|
|
|
|
| |
Ubuntu 16.04 switches to this for python3, so it's good to include it in
the default list that is attempted when one runs 'tox'.
Change-Id: Idae2118b3179010df8a9559a059d50b1decca8e5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add an other-requirements.txt file containing a cross-platform list of
dependencies needed for running included tox-based tests. Also include a
tox environment for convenience calling the bindep[*] utility to list
any missing system requirements.
This change is self-testing.
For other-requirements.txt see also
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
[*] http://docs.openstack.org/infra/bindep/
Change-Id: I165b531c55a6ea27af742fcb3bd995cd4a3dce15
|
|
|
|
|
|
| |
We don't support python2.6 anymore.
Change-Id: I2755a7890236f48c037ac07078c732a2f53a2192
|
|\ |
|
| |
| |
| |
| |
| |
| | |
A minor oversight, easily corrected.
Change-Id: I1418bc42f56cd96ed11f1fc85a1667530d7dd495
|
|/
|
|
|
|
|
|
|
|
| |
Caching is enabled by default from pip version 6.0
More info:
https://testrun.org/tox/latest/config.html#confval-downloadcache=path
https://pip.pypa.io/en/stable/reference/pip_install/#caching
Change-Id: I6484145969bc6bf6c0824ad5487e0578bc5410be
|
|
|
|
|
|
|
|
| |
As per the governance resolution https://review.openstack.org/119875,
projects should have a docs environment in their tox.ini testing
interface. Rename the doc environment to docs.
Change-Id: I3ed8f62d9d3637ce2541ea2aaf91209b60521113
|
|
|
|
|
|
|
|
|
|
| |
According to https://docs.python.org/3/howto/pyporting.html the
syntax changed in Python 3.x. The new syntax is usable with
Python >= 2.6 and should be preferred to be compatible with Python3.
Enabled hacking check H231.
Change-Id: Ibe19ac61334d8708e3b8240e714ff98471b58111
|
|
|
|
| |
Change-Id: I4297e13a6a944c40dbe1835434a0f6b3ef96ebb9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tox.ini: The LANG, LANGUAGE and LC_ALL environment overrides were
introduced originally during the testr migration in an attempt to be
conservative about the possibility that locale settings in the
calling environment could cause consistency problems for test runs.
In actuality, this should be unnecessary and any place where it does
cause issues ought to be considered an actual bug. Also, having
these in the configuration actively causes older pip to have
problems with non-ASCII content in some package metadata files under
Python 3, so drop it now.
Change-Id: I8666ddf1aa3f4f0a71b108efe66ab36d8033813c
Closes-Bug: #1277495
|
|
|
|
|
|
|
|
|
| |
Also correct the oversight of not documenting the SSL params to
the server class.
Also cap sphinx due to issues with 1.2 and ignore hacking.
Change-Id: Ic4e8e942620d06a92696d5cf52bc2e9ce6e66bdc
|
|
|
|
|
|
| |
No sense in making tarballs every time.
Change-Id: I6aaeb9b78922a7a39d6e7d7cbe0a595a07f5808c
|
|
|
|
|
|
| |
To avoid installing pre-release versions of packages.
Change-Id: Ia8429d7936a2c0720e342edd733d3c5537c1f564
|
|
|
|
| |
Change-Id: I826f90c363787ee93f0ac3706a57d621dd0c0ce0
|
|
|
|
|
|
|
| |
Finish replacing isComplete. Also, add back in the bit where we
save the response because it turns out that's important.
Change-Id: I8441386a9aae9c62c1527e780d0b41271f465ac5
|
|
Change-Id: I8ff06c6711e1d9f5bf4d1278f37d4e2f7f799e3d
|