diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index efceab81..00000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[python: **.py] diff --git a/lower-constraints.txt b/lower-constraints.txt index aed4d53f..bbbacca8 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -1,4 +1,3 @@ -Babel==2.3.4 coverage==4.5.2 elasticsearch==2.0.0 eventlet==0.18.2 diff --git a/openstack-common.conf b/openstack-common.conf deleted file mode 100644 index e5cae9f3..00000000 --- a/openstack-common.conf +++ /dev/null @@ -1,7 +0,0 @@ -[DEFAULT] - -# The list of modules to copy from oslo-incubator -module=install_venv_common - -# The base module to hold the copy of openstack.common -base=searchlight diff --git a/setup.cfg b/setup.cfg index e8ade7e7..5066266e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,10 +14,11 @@ classifier = License :: OSI Approved :: Apache Software License Operating System :: POSIX :: Linux Programming Language :: Python + Programming Language :: Python :: Implementation :: CPython + Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3 :: Only [entry_points] console_scripts = @@ -59,22 +60,3 @@ searchlight.publisher = log_publisher = searchlight.publisher.log:LogPublisher wsgi_scripts = searchlight-api-wsgi = searchlight.api.wsgi:init_application - -[egg_info] -tag_build = -tag_date = 0 -tag_svn_revision = 0 - -[compile_catalog] -directory = searchlight/locale -domain = searchlight - -[update_catalog] -domain = searchlight -output_dir = searchlight/locale -input_file = searchlight/locale/searchlight.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = searchlight/locale/searchlight.pot diff --git a/setup.py b/setup.py index 566d8443..cd35c3c3 100644 --- a/setup.py +++ b/setup.py @@ -13,17 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT import setuptools -# In python < 2.7.4, a lazy loading of package `pbr` will break -# setuptools if some other modules registered functions in `atexit`. -# solution from: http://bugs.python.org/issue15881#msg170215 -try: - import multiprocessing # noqa -except ImportError: - pass - setuptools.setup( setup_requires=['pbr>=2.0.0'], pbr=True) diff --git a/test-requirements.txt b/test-requirements.txt index 2561041b..af9c4873 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,10 +3,9 @@ # process, which may cause wedges in the gate later. # Hacking already pins down pep8, pyflakes and flake8 -hacking>=3.0.1,<3.1.0 # Apache-2.0 +hacking>=3.1.0,<3.2.0 # Apache-2.0 # For translations processing -Babel!=2.4.0,>=2.3.4 # BSD # Needed for testing coverage>=4.5.2 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 1189fe3e..8c320e0c 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ ignore_basepython_conflict = true basepython = python3 setenv = VIRTUAL_ENV={envdir} usedevelop = True -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt} -U {opts} {packages} +install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = @@ -44,14 +44,15 @@ commands = oslopolicy-sample-generator --config-file etc/oslo-policy-generator/searchlight.conf [testenv:docs] -deps = -r{toxinidir}/doc/requirements.txt +deps = + -r{toxinidir}/doc/requirements.txt whitelist_externals = rm commands = rm -rf doc/build sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html [testenv:pdf-docs] -deps = -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} envdir = {toxworkdir}/docs whitelist_externals = make @@ -60,14 +61,14 @@ commands = make -C doc/build/pdf [testenv:api-ref] -deps = -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} whitelist_externals = rm commands = rm -rf api-ref/build sphinx-build -W --keep-going -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html [testenv:releasenotes] -deps = -r{toxinidir}/doc/requirements.txt +deps = {[testenv:docs]deps} commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html [testenv:debug]