summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Fix python3.9 testingClark Boylan2022-04-191-2/+7
| | | | | | | | | | 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
* Update testing to Python 3.9 and lintersJeremy Stanley2021-03-301-3/+5
| | | | | | | | | | | | | | | 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
* Fix documentation buildsMohammed Naser2019-10-141-1/+5
| | | | | | | | | | | | | | | | | 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
* Merge "Ignore E129"Jenkins2016-11-081-2/+2
|\
| * Ignore E129James E. Blair2016-11-081-2/+2
| | | | | | | | | | | | | | | | | | 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
* | Merge "Re-enable flake8"Jenkins2016-11-081-1/+0
|\ \ | |/
| * Re-enable flake8Monty Taylor2016-11-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Move py27 after py34 and py35Monty Taylor2016-11-081-1/+1
| | | | | | | | | | | | testr database format gets wonky if you do python2 before python3. Yay. Change-Id: I8c250e8f71ce95e6224c90b9596d5a176e75626d
* | Add py35 to tox.ini default envsClint Byrum2016-10-031-1/+1
|/ | | | | | | 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
* List system dependencies for running common testsAndreas Jaeger2016-07-081-0/+8
| | | | | | | | | | | | | | | | 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
* Remove py26 from tox.iniMonty Taylor2016-06-021-1/+1
| | | | | | We don't support python2.6 anymore. Change-Id: I2755a7890236f48c037ac07078c732a2f53a2192
* Merge "Add py34 to tox.ini envlist"Jenkins2016-06-021-1/+1
|\
| * Add py34 to tox.ini envlistClint Byrum2015-05-071-1/+1
| | | | | | | | | | | | A minor oversight, easily corrected. Change-Id: I1418bc42f56cd96ed11f1fc85a1667530d7dd495
* | Deprecated tox -downloadcache option removedOndřej Nový2015-12-111-1/+0
|/ | | | | | | | | | 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
* Rename doc environment to docsMonty Taylor2014-09-081-1/+1
| | | | | | | | 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
* Use except x as y instead of except x, yChristian Berendt2014-05-301-0/+1
| | | | | | | | | | 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
* add tox shortcut to build docsKhai Do2014-04-171-0/+3
| | | | Change-Id: I4297e13a6a944c40dbe1835434a0f6b3ef96ebb9
* Remove tox locale overridesJeremy Stanley2014-02-111-3/+0
| | | | | | | | | | | | | | | * 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
* Add statsd support0.5.0James E. Blair2013-12-231-1/+2
| | | | | | | | | 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
* Update tox.ini to use skipsdist/developMonty Taylor2013-09-261-1/+3
| | | | | | No sense in making tarballs every time. Change-Id: I6aaeb9b78922a7a39d6e7d7cbe0a595a07f5808c
* Remove --pre from tox install commandJames E. Blair2013-09-251-0/+2
| | | | | | To avoid installing pre-release versions of packages. Change-Id: Ia8429d7936a2c0720e342edd733d3c5537c1f564
* Remove E128 pep8 ignoreJames E. Blair2013-07-091-1/+1
| | | | Change-Id: I826f90c363787ee93f0ac3706a57d621dd0c0ce0
* More improvements to admin requests.James E. Blair2013-05-211-0/+1
| | | | | | | Finish replacing isComplete. Also, add back in the bit where we save the response because it turns out that's important. Change-Id: I8441386a9aae9c62c1527e780d0b41271f465ac5
* Add pbr-based setup.Monty Taylor2013-04-081-0/+31
Change-Id: I8ff06c6711e1d9f5bf4d1278f37d4e2f7f799e3d