[MIR] python-elasticsearch

Bug #1420299 reported by Corey Bryant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fonts-font-awesome (Ubuntu)
Expired
Undecided
Unassigned
python-elasticsearch (Ubuntu)
Expired
Undecided
Unassigned
sphinx-rtd-theme (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Availability: Currently in universe
Rationale: Dependency for Openstack Ceilometer kilo-2
Security: No security history.
Quality Assurance: Package works out of the box with no prompting. There are no major bugs in Ubuntu and there are no major bugs in Debian. Unit tests are run during build.
Dependencies: All are in main except python-pylibmc [2]
Standards Compliance: FHS and Debian Policy compliant.
Maintenance: Simple python package that the Ubuntu Server Team will take care of.
Background: Python client for Elasticsearch - Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable.

[1] MIR for pylibmc - https://bugs.launchpad.net/ubuntu/+source/pylibmc/+bug/1419954

description: updated
Revision history for this message
Michael Terry (mterry) wrote :

Looks fine. But the patch to enable tests should also run nosetests3 as well as nosetests to run the python3 versions of the tests too. Also, there is version 1.4 in Debian. Should we update?

Changed in python-elasticsearch (Ubuntu):
status: New → Incomplete
Revision history for this message
Chuck Short (zulcss) wrote :

Unfortunately to have the tests enabled you need to have an elasticsearch server installed in order to run the tests. Also the tests are not included in the release tarball as they meant to run in the git archive. The tests are regularily run upstream as well.

https://travis-ci.org/elasticsearch/elasticsearch-py

Revision history for this message
Michael Terry (mterry) wrote :

(Sorry for slow reply.)

The tests do seem included with the tarball? There's the test_elasticsearch/ folder anyway.

It looks like there are two test problems:
- test_elasticsearch/test_server/ contains a bunch of tests that try to use the network. They should all be skipped when we build.
- test_elasticsearch/helpers/test.py contains a method get_test_client() that nose picks up as a test. It should be skipped (as it is only a helper for test_server tests).

With those skipped, there are still 90+ tests that could be run. Seems a shame to throw out the baby with the bathwater.

Revision history for this message
Michael Terry (mterry) wrote :

Also, version 1.4 pulls in python-sphinx-rtd-theme as a build-dep, which I've added to this MIR. Let me look at that.

Revision history for this message
Michael Terry (mterry) wrote :

The rtd theme is OK, but needs a bug subscriber. Same with fonts-font-awesome, which is pulled in by the theme.

Changed in sphinx-rtd-theme (Ubuntu):
status: New → Incomplete
Changed in fonts-font-awesome (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-elasticsearch (Ubuntu) because there has been no activity for 60 days.]

Changed in python-elasticsearch (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sphinx-rtd-theme (Ubuntu) because there has been no activity for 60 days.]

Changed in sphinx-rtd-theme (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for fonts-font-awesome (Ubuntu) because there has been no activity for 60 days.]

Changed in fonts-font-awesome (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.