python-statsd points to incorrect github page

Bug #1427472 reported by Prathmesh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-statsd (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
New
Undecided
Unassigned

Bug Description

python-statsd is named after, and claims to provide https://github.com/WoLpH/python-statsd

If you download the tarball, the README will tell you that it's actually providing https://github.com/jsocol/pystatsd

I've made the selfsame mistake before when writing an ebuild for this package :(

The two projects are API incompatible, and should have separate packages.

Revision history for this message
Antoine "hashar" Musso (hashar) wrote :

There was a huge mess up in the python-statsd I originally packaged. A bug got reported on Debian BTS https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736256 namely stating:

-------------
The upstream Homepage is reported to be:

  https://github.com/WoLpH/python-statsd

.... which is consistent with the description provided in the package itself, as well
as the description of the python module listing at:

  https://pypi.python.org/pypi/python-statsd

However, the contents of the package itself originate from an unrelated repository:

  https://github.com/jsocol/pystatsd/
-------------

I sent the fix back a year ago in a version 2.0.3-1, the file changes are:

http://anonscm.debian.org/viewvc/python-modules/packages/python-statsd/trunk/debian/changelog?r1=27794&r2=27793&pathrev=27794
http://anonscm.debian.org/viewvc/python-modules/packages/python-statsd/trunk/debian/control?r1=27794&r2=27793&pathrev=27794

That version never got released / pushed to Debian repository AFAIK.

When a new upstream version got released, Filippo Giunchedi bumped the packaged to 3.0.1-1 and published it, thus including the above fix. Reference:

 http://anonscm.debian.org/viewvc/python-modules?view=revision&revision=31565

It is fixed in Debian package version 3.0.1-1.

Which package are you using?

Revision history for this message
Prathmesh (pprabhu-u) wrote :

Ah!

So, the package availabe for vivid is 3.0.1-1 as you mentioned: http://packages.ubuntu.com/vivid/python-statsd

I was trying to use the trusty package, and the latest available is 2.0.1-1. The latest for utopic is also 2.0.1-1.

Perhaps release the fixed package for trusty as well? Or should I just pull the one from vivid?

Revision history for this message
Antoine "hashar" Musso (hashar) wrote :

Both Trusty and Utopic would need the new build 2.0.3-1 which fix the description and url:

http://anonscm.debian.org/viewvc/python-modules/packages/python-statsd/trunk/debian/control?r1=27794&r2=27793&pathrev=27794

I have no idea though how to request such a backport / update in old releases :-(

Revision history for this message
Antoine "hashar" Musso (hashar) wrote :

Note: you can most probably install the 3.0.1-1 package from Vivid on a Precise system. Compared to 2.x, the default client instances have been moved out of __init__ so one has to use something like:

 import statsd.defaults.env

https://github.com/jsocol/pystatsd/blob/master/CHANGES

Revision history for this message
Prathmesh (pprabhu-u) wrote :

For my own needs, I ended up going the python-pip --> pip install route.
So, I'm not blocked on this.

Thanks.

Michael Terry (mterry)
Changed in python-statsd (Ubuntu):
status: New → Fix Released
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.