Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564612 - =dev-python/elasticsearch-curator-3.4.0 version bump
Summary: =dev-python/elasticsearch-curator-3.4.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords:
Depends on: 565470
Blocks:
  Show dependency tree
 
Reported: 2015-11-01 07:42 UTC by Tomáš Mózes
Modified: 2015-11-12 08:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
elasticsearch-curator-3.4.0.ebuild (elasticsearch-curator-3.4.0.ebuild,2.66 KB, text/plain)
2015-11-09 15:25 UTC, Tomáš Mózes
Details
build_test.log (curator.log,150.84 KB, text/plain)
2015-11-09 15:25 UTC, Tomáš Mózes
Details
elasticsearch-curator-3.4.0.ebuild (elasticsearch-curator-3.4.0.ebuild,2.67 KB, text/plain)
2015-11-11 10:40 UTC, Tomáš Mózes
Details
elasticsearch-curator-3.4.0.ebuild (elasticsearch-curator-3.4.0.ebuild,2.66 KB, text/plain)
2015-11-11 13:32 UTC, Tomáš Mózes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2015-11-01 07:42:17 UTC
Support for ES 2.0.
Comment 1 Tomáš Mózes 2015-11-09 15:25:44 UTC
Created attachment 416398 [details]
elasticsearch-curator-3.4.0.ebuild
Comment 2 Tomáš Mózes 2015-11-09 15:25:58 UTC
Created attachment 416400 [details]
build_test.log
Comment 3 Tomáš Mózes 2015-11-11 10:40:15 UTC
Created attachment 416662 [details]
elasticsearch-curator-3.4.0.ebuild

Adding python 3.5 support. Depends on:
https://bugs.gentoo.org/show_bug.cgi?id=565470
Comment 4 Tomáš Mózes 2015-11-11 13:32:43 UTC
Created attachment 416668 [details]
elasticsearch-curator-3.4.0.ebuild

Using ~ for mock 1.0.1 dep.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2015-11-11 14:17:30 UTC
commit b6d222f596c32514bf78deb3832b6455207f6d0b
Author: Ian Delaney <idella4@gentoo.org>
Date:   Wed Nov 11 22:13:45 2015 +0800

    dev-python/elasticsearch-curator: set req'd version to dep 'mock'
    
    Required for test phase, fixes gentoo bug
    
    Gentoo bug: #565502
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2015-11-11 15:16:44 UTC
Previous was accidental entry in the wrong bug. However it does contribute a step towards the end goal here.

Running this under py3.5 reveals

 * Waiting for Elasticsearch                                                                                                                        [ !! ]
/usr/bin/python3.5 setup.py test
running test
Searching for elasticsearch<2.1.0,>=1.8.0
Reading https://pypi.python.org/simple/elasticsearch/

* app-misc/elasticsearch
     Available versions:  (~)1.6.2^s (~)1.7.1^s (~)1.7.3^s

elasticsearch-py-1.9.0.ebuild does not dep on app-misc/elasticsearch, so it appears this elasticsearch-curator-3.4.0 requires a dep on >=elasticsearch-1.8.0 <2.1.0. at least behind the IUSE test to support python 3.5.

The run under python3.4 was successful.
Also, PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) requires dropping of 3_3 since it has been deprecated. If left to support only py3.5, this bump would be viable.
Comment 7 Tomáš Mózes 2015-11-11 19:51:07 UTC
Actually we have a depend on a good version of elasticsearch-py:

>=dev-python/elasticsearch-py-1.8.0[${PYTHON_USEDEP}]
<dev-python/elasticsearch-py-2.1.0[${PYTHON_USEDEP}]

Have you tested this before or after this commit please:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef51f927241abb7ebb40e5ebd87892579f58ff94

Here we added python 3.5 support for elasticsearch-py 1.9 which is ok for elasticsearch-curator.
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2015-11-12 08:20:44 UTC
commit 2d6ac3e91c86331a3fd83110983f3e9c9d1ec93c
Author: Ian Delaney <idella4@gentoo.org>
Date:   Thu Nov 12 16:17:24 2015 +0800

    dev-python/elasticsearch-curator: bump to 3.4.0 closes the gentoo bug
    
    Gentoo bug: 564612