Hi John, elasticsearch-py supports python 2.6, I don't develop for it but I run the tests under 2.6 and fix any bugs that occur. If you find any bugs, I will be happy to fix them.
Thanks On Mon, Jan 27, 2014 at 6:12 AM, John Stanford <jxstanf...@gmail.com> wrote: > Hi, > > Just wanted to check on the state of py26 compatibility for the > elasticsearch python library. I only ask because I just got bit by the > latest version of pyes after upgrading my dev lab to ES 0.90.10 and pyes > 0.90. FWIW, pyes appears to have used an incompatible encode call, though > it works for py27. Any comment will not be taken as a statement of support; > rather, a friendly timesaver while trying resolve my current dilemma... :-) > > Thanks, > John > > File > "/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/managers.py", > line 412, in put_mapping > path = self.conn._make_path(indices, doc_type, "_mapping") > File > "/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/es.py", > line 434, in _make_path > return make_path(','.join(indices), ','.join(doc_types), *components) > File > "/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/__init__.py", > line 37, in make_path > path_components = [quote(component) for component in path_components if > component] > File > "/Users/stanford/devel/solinea/goldstone/.tox/py26/lib/python2.6/site-packages/pyes/utils/__init__.py", > line 17, in quote > value = value.encode('utf8', errors='ignore') if isinstance(value, > six.string_types) else str(value) > TypeError: encode() takes no keyword arguments > > -- > You received this message because you are subscribed to the Google Groups > "elasticsearch" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elasticsearch+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/499d4092-2073-433c-8f77-bc715fcdd690%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CABfdDioKLkeXoknA%3DXFZbn85kf1P%3D-3L0nVJ9ekGUoXbXYWLpg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.