Package: python-setuptools
Version: 0.6c8-2
Severity: normal

I ran into a problem on my home system, when upgrading from the debian
python-setuptools-0.6c7 to 0.6c8 . I have Nevow installed on this box, in a
way that is visible to setuptools: specifically the following snippet
succeeds instead of raising an exception:

 import pkg_resources;
 pkg_resources.require("Nevow")

However, with 0.6c8 installed, "easy_install Nevow" nevertheless attempts to
download and install the latest version according to pypi. 0.6c7 did not: it
saw the existing Nevow and refrained from downloading a new copy. The actual
code that encounters this is in our Tahoe project, where our 'make build'
step does 'python setup.py develop --prefix ...' and is supposed to build any
dependencies that you don't already have on your system. It downloads and
installs the latest version of Nevow even though I have the python-nevow
debian package installed, and the version numbers ought to satisfy the
setup.py's declared dependencies.

I haven't done a lot of analysis of this yet. When Zooko and I looked at it
about a month ago, we concluded that it was something specific to the debian
0.6c8 package: installing 0.6c8 from source on a different system did not
seem to exhibit the bug. Downgrading to the debian 0.6c7 package resolved the
problem. 

I *think* this is a debian-specific thing, but I'm not sure. It might be
related to Nevow.. I don't use easy_install or 'develop' on anything else
(preferring to stick to the debian packages of everything). So it is possible
that Nevow is doing something funny that confuses one part of setuptools into
thinking that nevow is present, but a different part into thinking that it
doesn't exist and needs to be installed.

I've filed a bug on the nascent setuptools tracker with the same contents as
this one: http://allmydata.org/trac/setuptools/ticket/6

cheers,
 -Brian

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-setuptools depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.6.1      register and build utility for Pyt
ii  python-pkg-resources          0.6c8-2    Package Discovery and Resource Acc

python-setuptools recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to