Codebase list cinder-tempest-plugin / 79d1390
Cleanup py27 support This repo is now testing only with Python 3, so let's make a few cleanups: - Remove python 2.7.3 stanza from setup.py - Remove obsolete sections from setup.cfg - Remove install_command from tox.ini, the default is fine - Switch to hacking 3.0, ignore W503 and W504 (as in cinder repo) - Use TOX_CONSTRAINTS instead of obsolete UPPER_CONSTRAINTS Change-Id: Ia623c8af7f03c25bce7e4600693a7e834ab70000 Andreas Jaeger 6 years ago
4 changed file(s) with 5 addition(s) and 37 deletion(s). Raw diff Collapse all Expand all
2020 packages =
2121 cinder_tempest_plugin
2222
23 [build_sphinx]
24 all-files = 1
25 warning-is-error = 1
26 source-dir = doc/source
27 build-dir = doc/build
28
29 [upload_sphinx]
30 upload-dir = doc/build/html
31
32 [compile_catalog]
33 directory = cinder_tempest_plugin/locale
34 domain = cinder_tempest_plugin
35
36 [update_catalog]
37 domain = cinder_tempest_plugin
38 output_dir = cinder_tempest_plugin/locale
39 input_file = cinder_tempest_plugin/locale/cinder_tempest_plugin.pot
40
41 [extract_messages]
42 keywords = _ gettext ngettext l_ lazy_gettext
43 mapping_file = babel.cfg
44 output_file = cinder_tempest_plugin/locale/cinder_tempest_plugin.pot
45
4623 [entry_points]
4724 tempest.test_plugins =
4825 cinder_tests = cinder_tempest_plugin.plugin:CinderTempestPlugin
1212 # See the License for the specific language governing permissions and
1313 # limitations under the License.
1414
15 # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
1615 import setuptools
17
18 # In python < 2.7.4, a lazy loading of package `pbr` will break
19 # setuptools if some other modules registered functions in `atexit`.
20 # solution from: http://bugs.python.org/issue15881#msg170215
21 try:
22 import multiprocessing # noqa
23 except ImportError:
24 pass
2516
2617 setuptools.setup(
2718 setup_requires=['pbr>=2.0.0'],
11 # of appearance. Changing the order has an impact on the overall integration
22 # process, which may cause wedges in the gate later.
33
4 hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
4 hacking>=3.0,<3.1 # Apache-2.0
55
66 coverage!=4.4,>=4.0 # Apache-2.0
77 python-subunit>=1.0.0 # Apache-2.0/BSD
88 [testenv]
99 basepython = python3
1010 usedevelop = True
11 install_command = pip install {opts} {packages}
1211 setenv =
1312 VIRTUAL_ENV={envdir}
1413 PYTHONWARNINGS=default::DeprecationWarning
15 deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
14 deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
1615 -r{toxinidir}/test-requirements.txt
1716 commands = python setup.py test --slowest --testr-args='{posargs}'
1817
2423
2524 [flake8]
2625 # E123, E125 skipped as they are invalid PEP-8.
27
26 # W503 line break before binary operator
27 # W504 line break after binary operator
2828 show-source = True
29 ignore = E123,E125
29 ignore = E123,E125,W503,W504
3030 builtins = _
3131 exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build