Stop installing crudini and iniparse from source
Now that crudini [1] and iniparse [2] have Python 3 support released on PyPI, we can stop installing them from source. In addition, crudini depends on iniparse, so we can stop installing the latter explicitly. [1] https://github.com/pixelb/crudini/issues/58 [2] https://github.com/candlepin/python-iniparse/issues/5 Change-Id: I976dbc43a38d8164a9d2fc369b7654409b2516a8
This commit is contained in:
parent
c74bb93b6d
commit
14ad609aaf
@ -5,7 +5,8 @@ setuptools>=17.1
|
|||||||
# setuptools needs to be upgraded below to ensure we have
|
# setuptools needs to be upgraded below to ensure we have
|
||||||
# a new enough setuptools version to support using >=
|
# a new enough setuptools version to support using >=
|
||||||
# for the python_version marker
|
# for the python_version marker
|
||||||
#crudini>=0.9.3
|
iniparse>=0.5
|
||||||
|
crudini>=0.9.3
|
||||||
paramiko>=2.7.0
|
paramiko>=2.7.0
|
||||||
sshtunnel<=0.1.3;python_version=='2.7' # MIT
|
sshtunnel<=0.1.3;python_version=='2.7' # MIT
|
||||||
sshtunnel;python_version>='3.6' # MIT
|
sshtunnel;python_version>='3.6' # MIT
|
||||||
|
@ -1,13 +1,7 @@
|
|||||||
# NOTE(artom) We need to install cruini and iniparse from source until
|
- name: crudini
|
||||||
# https://github.com/pixelb/crudini/issues/58 and
|
|
||||||
# https://github.com/candlepin/python-iniparse/issues/5 are on fixed PyPi.
|
|
||||||
- name: crudini and iniparse
|
|
||||||
pip:
|
pip:
|
||||||
name: "{{ item }}"
|
name: crudini
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
|
||||||
- git+https://github.com/pixelb/crudini.git#egg=crudini
|
|
||||||
- git+https://github.com/candlepin/python-iniparse.git#egg=iniparse
|
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
# NOTE(artom) The run-tempest role runs as the tempest user, so we need to give
|
# NOTE(artom) The run-tempest role runs as the tempest user, so we need to give
|
||||||
|
5
tox.ini
5
tox.ini
@ -14,14 +14,9 @@ setenv =
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
whitelist_externals = *
|
whitelist_externals = *
|
||||||
# Until https://github.com/pixelb/crudini/issues/58 and
|
|
||||||
# https://github.com/candlepin/python-iniparse/issues/5 are on PyPi, install
|
|
||||||
# from GitHub.
|
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
git+https://github.com/pixelb/crudini.git#egg=crudini
|
|
||||||
git+https://github.com/candlepin/python-iniparse.git#egg=iniparse
|
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
stestr run {posargs}
|
stestr run {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user