[Python-modules-team] Bug#796410: python-statsd: FTBFS: ImportError: No module named django.conf
On Fri, Aug 21, 2015 at 08:18 PM, Chris Lamb wrote: > The full build log is attached or can be viewed here: > > > https://reproducible.debian.net/logs/unstable/amd64/python-statsd_3.0.1-2.build1.log.gz hi, looks like the linked log builds fine? i.e. the FTBFS recovered. anyways I can't reproduce it in a local unstable chroot with cowbuilder both with 3.0.1 and 3.2 (which I'm about to upload) ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#772936: python-statsd: fails to import with django >= 1.5
Package: python-statsd Version: 2.0.1-1 Severity: grave Tags: upstream Justification: renders package unusable hi, python-statsd fails to import if python-django >= 1.5 is installed, see also this issue: https://github.com/jsocol/pystatsd/issues/24 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: https://github.com/jsocol/pystatsd/commit/f28f6c988fc087388577cd5e8df28ca8d648c0e3 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) ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#782795: python-pip: breaks with relocatable virtualenv, assert sys.prefix != real_prefix
Package: python-pip Version: 1.5.6-5 Severity: normal hi, it looks like pip stops working inside a virtualenv after using virtualenv --relocatable how to reproduce: i7:/tmp$ virtualenv venv Running virtualenv with interpreter /usr/bin/python2 New python executable in venv/bin/python2 Also creating executable in venv/bin/python Installing setuptools, pip...done. i7:/tmp$ venv/bin/pip install flask Downloading/unpacking flask Downloading Flask-0.10.1.tar.gz (544kB): 544kB downloaded Running setup.py (path:/tmp/pip-build-IIMGrU/flask/setup.py) egg_info for package flask [...] Successfully installed flask Werkzeug Jinja2 itsdangerous markupsafe Cleaning up... i7:/tmp$ source venv/bin/activate (venv)i7:/tmp$ virtualenv --relocatable venv Running virtualenv with interpreter /tmp/venv/bin/python2 Making script venv/bin/pip2 relative Making script venv/bin/easy_install-2.7 relative Making script venv/bin/pip relative Making script venv/bin/easy_install relative Making script venv/bin/pip2.7 relative (venv)i7:/tmp$ venv/bin/pip install flask Traceback (most recent call last): File "venv/bin/pip", line 10, in from pip import main File "/tmp/venv/local/lib/python2.7/site-packages/pip/__init__.py", line 39, in assert sys.prefix != real_prefix AssertionError (venv)i7:/tmp$ -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing-proposed-updates'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.19.0-trunk-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) Versions of packages python-pip depends on: ii ca-certificates 20141019 ii python2.7.9-1 ii python-colorama 0.3.2-1 ii python-distlib0.1.9-1 ii python-html5lib 0.999-3 ii python-pkg-resources 5.5.1-1 ii python-requests 2.4.3-6 ii python-setuptools 5.5.1-1 ii python-six1.8.0-1 pn python:any Versions of packages python-pip recommends: ii build-essential 11.7 pn python-dev-all pn python-wheel python-pip suggests no packages. -- no debconf information ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#790399: ITP: structlog -- tructured Logging for Python
Package: wnpp Severity: wishlist Owner: Filippo Giunchedi * Package name: structlog Version : 15.2.0 Upstream Author : Hynek Schlawack * URL : http://www.structlog.org * License : Apache 2.0 or MIT Programming Lang: Python Description : structured Logging for Python Structlog makes structured logging in Python easy by augmenting your existing logger. Structured logging means that you don’t write hard-to-parse and hard-to-keep-consistent prose in your logs but that you log events that happen in a context instead. . Structlog allows you to split your log entries up into key/value pairs and build them incrementally without annoying boilerplate code. It can be used immediately with any existing logger. ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
[Python-modules-team] Bug#782795: python-pip: breaks with relocatable virtualenv, assert sys.prefix != real_prefix
On Sat, Mar 24, 2018 at 05:50:40PM -0400, Stefano Rivera wrote: > Version: 9.0.1-2 > > Hi Filippo (2015.04.17_19:05:52_-0400) > > it looks like pip stops working inside a virtualenv after using > > virtualenv --relocatable > > I would say that that's actually a virtualenv bug. But the better news > is that I can't reproduce it in stretch. So let's close this. > > Also, note that upstream virtualenv doesn't really support > --relocatable. It's known to not work particularly well. Indeed, unfortunately I've ran into the issue of unrelocatable venv time and tiem again since this bug and eventually gave up. thanks! filippo -- http://esaurito.net - 0x99D49B6B00CAD1E5 - ⠠⠵ ___ Python-modules-team mailing list Python-modules-team@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team