Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563192 - =dev-python/elasticsearch-py-1.8.0 version bump
Summary: =dev-python/elasticsearch-py-1.8.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-16 08:46 UTC by Tomáš Mózes
Modified: 2015-10-19 13:37 UTC (History)
0 users

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


Attachments
elasticsearch-py-1.8.0 (elasticsearch-py-1.8.0.ebuild,2.39 KB, text/plain)
2015-10-16 09:25 UTC, Tomáš Mózes
Details
cutdown form / tail of the build log (elasticsearch-py-1.8.0-tail_build.log,10.44 KB, text/x-log)
2015-10-18 01:38 UTC, Ian Delaney (RETIRED)
Details
elasticsearch-py-1.8.0.ebuild (elasticsearch-py-1.8.0.ebuild,2.43 KB, text/plain)
2015-10-19 12:06 UTC, Tomáš Mózes
Details
build_test.log (epy180-test.log,92.16 KB, text/plain)
2015-10-19 12:06 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-10-16 08:46:59 UTC
1.8.0 (2015-10-14)
------------------

 * removed thrift and memcached connections, if you wish to continue using
   those, extract the classes and use them separately.
 * added a new, parallel version of the bulk helper using thread pools

1.7.0 (2015-09-21)
------------------

 * elasticsearch 2.0 compatibility
 * thrift now deprecated, to be removed in future version
 * make sure urllib3 always uses keep-alive
Comment 1 Tomáš Mózes 2015-10-16 09:25:16 UTC
Created attachment 414694 [details]
elasticsearch-py-1.8.0

- added tests for real elasticsearch instance, running on custom port to avoid deleting your production data
- added man
- corrected dep on pretty-yaml (listed as pyaml in setup.py)
- needs nosexcover/pretty-yaml to be keyworded for x86/arm or to drop some keywords from elasticsearch-py
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2015-10-18 01:38:18 UTC
Created attachment 414804 [details]
cutdown form / tail of the build log

Note:

    from test_elasticsearch.local import get_client as local_get_client
ImportError: No module named 'test_elasticsearch.local'

and

Ran 98 tests in 11.391s

FAILED (SKIP=1, errors=1)

which is a fine result first time up. I suggest you return to the channel to troubleshoot.
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2015-10-18 01:53:25 UTC
See in test_elasticsearch/README.rst;

Customizing the tests
---------------------

You can create a `local.py` file in the `test_elasticsearch` directory which
should contain a `get_client` function.

This file local.py is then treated as a module. It does not come ready to go but the testsuite has it hard coded expecting it to be there
You need patch out the place of the use of the test_elasticsearch.local from the source of the testsuite.
Comment 4 Tomáš Mózes 2015-10-19 12:06:14 UTC
Created attachment 414918 [details]
elasticsearch-py-1.8.0.ebuild

Adding jre depend for tests.
Comment 5 Tomáš Mózes 2015-10-19 12:06:48 UTC
Created attachment 414920 [details]
build_test.log
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2015-10-19 13:32:42 UTC
commit a163aa4b2fef7f498dfcb51520d5023b7f7528f5
Author: Ian Delaney <idella4@gentoo.org>
Date:   Mon Oct 19 21:31:02 2015 +0800

    dev-python/elasticsearch-py: bump to -1.8.0
    
    add new deps for test phase, re-write of test phase, drop arm keyword
    enforced by lack of support by new deps, ebuild submitted by
    proxy maintainer via the gentoo bug
    
    Gentoo bug: #563192