Monday, 2017-09-04

openstackgerritDavid Moreau Simard proposed openstack/ara feature/1.0: WIP: Introduce API client with backend selection  https://review.openstack.org/50043403:56
*** resmo has joined #ara08:35
*** sshnaidm|off is now known as sshnaidm08:54
*** sshnaidm is now known as sshnaidm|mtg13:31
*** egonzalez has joined #ara14:11
egonzalezdmsimard, around?14:11
dmsimardegonzalez: o/14:11
egonzalezdmsimard, have you ever seen, cannot import JsonLexer?14:11
egonzalezI see pygments is in requirements, however the lib seems was not installed when doing pip install ara14:12
dmsimardegonzalez: doesn't ring me a bell, no, but that would be an error thrown by pygments14:12
dmsimardIs it perhaps already installed as rpm/deb pkg but not a high enough version ?14:13
dmsimardAre you installing in an empty venv ?14:13
egonzalezdmsimard, host python_path in a fresh host14:14
dmsimardpip freeze not showing pygments I guess ? Does the pip install run into any errors ? Maybe a missing build dependency ?14:15
* dmsimard thinking out loud14:15
dmsimardPotential build dependencies are listed here http://ara.readthedocs.io/en/latest/installation.html14:16
dmsimardOr bindep if you prefer :p https://github.com/openstack/ara/blob/master/bindep.txt14:16
egonzalezI have pygments from pip and from rpm packages, might be that the issue? I see lexer in python_path/pygments14:17
dmsimardMixing pip and rpm is a usually a recipe for disaster14:18
dmsimardWhat distro is that on ? CentOS ,14:19
dmsimard?14:19
egonzalezdmsimard, yep, centos. i have a bunch of services there, elk + ansible + ara + redis, i had design for individual servers, but you know what dev envs mean ;)14:20
dmsimardegonzalez: I'll package ara in RDO for Queens :)14:21
dmsimardIt's already packaged for fedora but need to do a few tweaks14:21
egonzalezis outside openstack this env, just using ara for ansible stuff :(14:22
dmsimardIn the meantime, I don't have any great solutions other than trying in a venv instead, or figuring out that conflict14:22
dmsimardIt depends on what you have that installed the pygments rpm in the first place14:23
dmsimardWhat version is the rpm btw ? I didn't know a potentially older version could be a problem, we could put a minimum version in reqs.txt14:23
egonzalezdmsimard, pip install -U pygments fixed, the issue14:29
egonzalezPygments-1.4 does not have JsonLexer on it14:29
dmsimardMight've broken whatever it is that made you install pygments as rpm though14:29
egonzalezwas implemented in pygments 1.514:30
dmsimardSweet, want to send a patch ? :)14:30
openstackgerritEduardo Gonzalez proposed openstack/ara master: pygments 1.6 min version  https://review.openstack.org/50056814:36
*** sshnaidm|mtg is now known as sshnaidm14:53
dmsimardegonzalez: thanks for hunting that one down15:23
*** egonzalez has quit IRC16:02
*** sshnaidm is now known as sshnaidm|off17:22
*** BlessJah_ has joined #ara18:32
*** evrardjp_ has joined #ara18:36
*** leifmadsen_ has joined #ara18:36
*** evrardjp has quit IRC18:37
*** leifmadsen has quit IRC18:37
*** BlessJah has quit IRC18:37
*** BlessJah_ is now known as BlessJah19:20
openstackgerritMerged openstack/ara master: pygments 1.6 min version  https://review.openstack.org/50056819:35
openstackgerritDavid Moreau Simard proposed openstack/ara feature/1.0: Introduce a client with backend selection  https://review.openstack.org/50043422:29

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!