"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tox.ini" between
keystone-16.0.1.tar.gz and keystone-17.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Ussuri" series (latest release).

tox.ini  (keystone-16.0.1):tox.ini  (keystone-17.0.0)
[tox] [tox]
minversion = 2.5.0 minversion = 3.2.0
skipsdist = True skipsdist = True
envlist = py27,py37,pep8,api-ref,docs,genconfig,genpolicy,releasenotes,protectio n envlist = py37,pep8,api-ref,docs,genconfig,genpolicy,releasenotes,protection
[testenv] [testenv]
usedevelop = True usedevelop = True
install_command = pip install {opts} {packages} basepython = python3
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/ upper/train} deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up per/ussuri}
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
.[ldap,memcache,mongodb] .[ldap,memcache,mongodb]
commands = commands =
find keystone -type f -name "*.pyc" -delete find keystone -type f -name "*.pyc" -delete
stestr run {posargs} stestr run {posargs}
whitelist_externals = whitelist_externals =
bash bash
find find
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PBR_VE RSION passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY PBR_VE RSION
[testenv:api-ref] [testenv:api-ref]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt deps = -r{toxinidir}/doc/requirements.txt
commands = commands =
bash -c "rm -rf api-ref/build" bash -c "rm -rf api-ref/build"
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build /html sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build /html
[testenv:pep8] [testenv:pep8]
basepython = python3
deps = deps =
.[bandit] .[bandit]
{[testenv]deps} {[testenv]deps}
commands = commands =
flake8 --ignore=D100,D101,D102,D103,D104,E305,E402,E501,W503,W504,W605 flake8 --ignore=D100,D101,D102,D103,D104,E305,E402,W503,W504,W605
# Run bash8 during pep8 runs to ensure violations are caught by # Run bash8 during pep8 runs to ensure violations are caught by
# the check and gate queues # the check and gate queues
bashate devstack/plugin.sh bashate devstack/plugin.sh
# Run security linter # Run security linter
bandit -r keystone -x 'keystone/tests/*' bandit -r keystone -x 'keystone/tests/*'
[testenv:fast8] [testenv:fast8]
basepython = python3
envdir = {toxworkdir}/pep8 envdir = {toxworkdir}/pep8
commands = commands =
{toxinidir}/tools/fast8.sh {toxinidir}/tools/fast8.sh
passenv = FAST8_NUM_COMMITS passenv = FAST8_NUM_COMMITS
[testenv:bandit] [testenv:bandit]
basepython = python3
# NOTE(browne): This is required for the integration test job of the bandit # NOTE(browne): This is required for the integration test job of the bandit
# project. Please do not remove. # project. Please do not remove.
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/ upper/train} deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up per/ussuri}
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
.[bandit] .[bandit]
commands = bandit -r keystone -x 'keystone/tests/*' commands = bandit -r keystone -x 'keystone/tests/*'
[testenv:cover] [testenv:cover]
basepython = python3
# Also do not run test_coverage_ext tests while gathering coverage as those # Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage. # tests conflict with coverage.
setenv = setenv =
{[testenv]setenv} {[testenv]setenv}
PYTHON=coverage run --source keystone --parallel-mode PYTHON=coverage run --source keystone --parallel-mode
commands = commands =
find keystone -type f -name "*.pyc" -delete find keystone -type f -name "*.pyc" -delete
stestr run {posargs} stestr run {posargs}
coverage combine coverage combine
coverage html -d cover coverage html -d cover
coverage xml -o cover/coverage.xml coverage xml -o cover/coverage.xml
[testenv:patch_cover] [testenv:patch_cover]
basepython = python3
commands = commands =
bash tools/cover.sh bash tools/cover.sh
[testenv:venv] [testenv:venv]
basepython = python3
commands = {posargs} commands = {posargs}
[testenv:debug] [testenv:debug]
basepython = python3
commands = commands =
find keystone -type f -name "*.pyc" -delete find keystone -type f -name "*.pyc" -delete
oslo_debug_helper {posargs} oslo_debug_helper {posargs}
passenv = passenv =
KSTEST_ADMIN_URL KSTEST_ADMIN_URL
KSTEST_ADMIN_USERNAME KSTEST_ADMIN_USERNAME
KSTEST_ADMIN_PASSWORD KSTEST_ADMIN_PASSWORD
KSTEST_ADMIN_DOMAIN_ID KSTEST_ADMIN_DOMAIN_ID
KSTEST_PUBLIC_URL KSTEST_PUBLIC_URL
KSTEST_USER_USERNAME KSTEST_USER_USERNAME
KSTEST_USER_PASSWORD KSTEST_USER_PASSWORD
KSTEST_USER_DOMAIN_ID KSTEST_USER_DOMAIN_ID
KSTEST_PROJECT_ID KSTEST_PROJECT_ID
[testenv:functional] [testenv:functional]
basepython = python3
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
setenv = OS_TEST_PATH=./keystone/tests/functional setenv = OS_TEST_PATH=./keystone/tests/functional
commands = commands =
find keystone -type f -name "*.pyc" -delete find keystone -type f -name "*.pyc" -delete
stestr run {posargs} stestr run {posargs}
stestr slowest stestr slowest
passenv = passenv =
KSTEST_ADMIN_URL KSTEST_ADMIN_URL
KSTEST_ADMIN_USERNAME KSTEST_ADMIN_USERNAME
KSTEST_ADMIN_PASSWORD KSTEST_ADMIN_PASSWORD
skipping to change at line 136 skipping to change at line 127
# D203: 1 blank line required before class docstring (deprecated in pep257) # D203: 1 blank line required before class docstring (deprecated in pep257)
# TODO(wxy): Fix the pep8 issue. # TODO(wxy): Fix the pep8 issue.
# E402: module level import not at top of file # E402: module level import not at top of file
# W503: line break before binary operator # W503: line break before binary operator
ignore = D100,D101,D102,D103,D104,D203,E402,W503 ignore = D100,D101,D102,D103,D104,D203,E402,W503
exclude=.venv,.git,.tox,build,dist,*lib/python*,*egg,tools,vendor,.update-venv,* .ini,*.po,*.pot exclude=.venv,.git,.tox,build,dist,*lib/python*,*egg,tools,vendor,.update-venv,* .ini,*.po,*.pot
max-complexity=24 max-complexity=24
[testenv:docs] [testenv:docs]
basepython = python3
deps = deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper /train} -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/u ssuri}
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
.[ldap,memcache,mongodb] .[ldap,memcache,mongodb]
commands= commands=
bash -c "rm -rf doc/build" bash -c "rm -rf doc/build"
bash -c "rm -rf doc/source/api" bash -c "rm -rf doc/source/api"
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
# FIXME(gyee): we need to pre-create the doc/build/pdf/_static directory as a # FIXME(gyee): we need to pre-create the doc/build/pdf/_static directory as a
# workaround because sphinx_feature_classification.support_matrix extension # workaround because sphinx_feature_classification.support_matrix extension
# is operating under the assumption that the _static directory already exist # is operating under the assumption that the _static directory already exist
# and trying to copy support-matrix.css into it. We need to remove # and trying to copy support-matrix.css into it. We need to remove
# the workaround after this patch has merged: # the workaround after this patch has merged:
# https://review.opendev.org/#/c/679860 # https://review.opendev.org/#/c/679860
[testenv:pdf-docs] [testenv:pdf-docs]
basepython = python3
envdir = {toxworkdir}/docs envdir = {toxworkdir}/docs
deps = {[testenv:docs]deps} deps = {[testenv:docs]deps}
whitelist_externals = whitelist_externals =
make make
mkdir mkdir
rm rm
commands = commands =
rm -rf doc/build/pdf rm -rf doc/build/pdf
mkdir -p doc/build/pdf/_static mkdir -p doc/build/pdf/_static
sphinx-build -W -b latex doc/source doc/build/pdf sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf make -C doc/build/pdf
[testenv:releasenotes] [testenv:releasenotes]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen otes/source releasenotes/build/html commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen otes/source releasenotes/build/html
[testenv:genconfig] [testenv:genconfig]
basepython = python3
commands = oslo-config-generator --config-file=config-generator/keystone.conf commands = oslo-config-generator --config-file=config-generator/keystone.conf
[testenv:genpolicy] [testenv:genpolicy]
basepython = python3
commands = oslopolicy-sample-generator --config-file config-generator/keystone-p olicy-generator.conf commands = oslopolicy-sample-generator --config-file config-generator/keystone-p olicy-generator.conf
[hacking] [hacking]
import_exceptions = import_exceptions =
keystone.i18n keystone.i18n
six.moves six.moves
local-check-factory = keystone.tests.hacking.checks.factory local-check-factory = keystone.tests.hacking.checks.factory
[testenv:bindep] [testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if # Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system # system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed # dependencies are missing! This also means that bindep must be installed
# separately, outside of the requirements files. # separately, outside of the requirements files.
deps = bindep deps = bindep
commands = bindep test commands = bindep test
[testenv:lower-constraints] [testenv:lower-constraints]
basepython = python3
deps = deps =
-c{toxinidir}/lower-constraints.txt -c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
.[ldap,memcache,mongodb] .[ldap,memcache,mongodb]
[testenv:protection] [testenv:protection]
basepython = python3
commands = commands =
find keystone -type f -name "*.pyc" -delete find keystone -type f -name "*.pyc" -delete
stestr run --test-path=./keystone/tests/protection {posargs} stestr run --test-path=./keystone/tests/protection {posargs}
 End of changes. 24 change blocks. 
24 lines changed or deleted 7 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)