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:
Artom Lifshitz 2020-11-17 10:50:43 -05:00
parent c74bb93b6d
commit 14ad609aaf
3 changed files with 5 additions and 15 deletions

View File

@ -5,7 +5,8 @@ setuptools>=17.1
# setuptools needs to be upgraded below to ensure we have
# a new enough setuptools version to support using >=
# for the python_version marker
#crudini>=0.9.3
iniparse>=0.5
crudini>=0.9.3
paramiko>=2.7.0
sshtunnel<=0.1.3;python_version=='2.7' # MIT
sshtunnel;python_version>='3.6' # MIT

View File

@ -1,13 +1,7 @@
# NOTE(artom) We need to install cruini and iniparse from source until
# https://github.com/pixelb/crudini/issues/58 and
# https://github.com/candlepin/python-iniparse/issues/5 are on fixed PyPi.
- name: crudini and iniparse
- name: crudini
pip:
name: "{{ item }}"
name: crudini
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
# NOTE(artom) The run-tempest role runs as the tempest user, so we need to give

View File

@ -14,14 +14,9 @@ setenv =
usedevelop = True
install_command = pip install -U {opts} {packages}
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 =
-r{toxinidir}/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 =
find . -type f -name "*.pyc" -delete
stestr run {posargs}