Codebase list python-castellan / a39ed69
Some Cleanups This repo is now Python 3, update: - Remove python 2.7 stanza from setup.py - Remove install_command from tox.ini, the default is fine - Remove Babel from requirements, it's not needed for running. - Use TOX_CONSTRAINTS_FILE instead of obsolete UPPER_CONSTRAINTS_FILE. - Use py36 for fault test Change-Id: Ia23841a4899361178994e349e1323de857b4ee23 Andreas Jaeger 3 years ago
5 changed file(s) with 2 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
00 - job:
11 name: castellan-functional-vault
2 parent: openstack-tox-py27
2 parent: openstack-tox-py36
33 description: |
44 Run tox functional-vault target
55 required-projects:
00 appdirs==1.3.0
11 asn1crypto==0.23.0
2 Babel==2.3.4
32 certifi==2020.4.5.2
43 cffi==1.13.2
54 chardet==3.0.4
22 # process, which may cause wedges in the gate later.
33
44 pbr!=2.1.0,>=2.0.0 # Apache-2.0
5 Babel!=2.4.0,>=2.3.4 # BSD
65 cryptography>=2.1 # BSD/Apache-2.0
76 python-barbicanclient>=4.5.2 # Apache-2.0
87 oslo.config>=6.4.0 # Apache-2.0
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'],
1010 VIRTUAL_ENV={envdir}
1111 OS_TEST_PATH=./castellan/tests/unit
1212 deps =
13 -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
13 -c{env:TOX_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
1414 -r{toxinidir}/requirements.txt
1515 -r{toxinidir}/test-requirements.txt
1616 commands = stestr run --slowest {posargs}
7777
7878 [testenv:functional]
7979 usedevelop = True
80 install_command = pip install -U {opts} {packages}
8180 setenv =
8281 VIRTUAL_ENV={envdir}
8382 OS_TEST_PATH=./castellan/tests/functional
8685 [testenv:functional-vault]
8786 passenv = HOME
8887 usedevelop = True
89 install_command = pip install -U {opts} {packages}
9088 setenv =
9189 VIRTUAL_ENV={envdir}
9290 OS_TEST_PATH=./castellan/tests/functional