[Python-modules-team] Bug#772936: python-statsd: fails to import with django >= 1.5

Filippo Giunchedi filippo at debian.org
Fri Dec 12 10:44:05 UTC 2014

Package: python-statsd
Version: 2.0.1-1
Severity: grave
Tags: upstream
Justification: renders package unusable

python-statsd fails to import if python-django >= 1.5 is installed, see also
this issue:


django.core.exceptions.ImproperlyConfigured: Requested setting STATSD_HOST, but
settings are not configured. You must either define the environment variable
DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

Fixed upstream by this commit:

I think it makes sense to package the latest upstream version, I'll take a stab
at that.

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

More information about the Python-modules-team mailing list