Problem with dependency resolution

Create issue
Issue #181 resolved
Nikolaus Rath created an issue

distribute seems to have trouble recognizing installed versions of packages when resolving dependencies.

The following example can be reproduced with the Ubuntu karmic live cd.

  1. Install python-pycryptopp and python-distribute
  2. Extract the attached sample project
  3. Run python install

Even though pycryptopp 0.5.17 is locally installed, distribute attempts to download it. However, it does not download the most recent version (0.5.19), but for some reason tries to download exactly the installed version:

{{{ [...] Processing dependencies for s3ql==0.0.0 Searching for pycryptopp==0.5.17 Reading Reading Reading Reading Best match: pycryptopp 0.5.17 Downloading Processing pycryptopp-0.5.17.tar.gz [...] }}}

Comments (4)

  1. Zooko O'Whielacronx

    This could be the same as #142. Could you verify whether the fix from #142 fixes it? Also, maybe we should ask the Ubuntu folks to backport the fix, but if so we should try it with Lucid rather than Karmic as Lucid is an Ubuntu Long-Term-Support release.

  2. Nikolaus Rath reporter

    Can you give me more detailed instructions on how to apply the fix? Can I just change the "use_setuptools(version='0.6')" line in to some newer version that contains the fix? Thanks!

  3. Nikolaus Rath reporter

    Lucid still has the same problem. Could you give me some instructions on how to apply the fix?

  4. Nikolaus Rath reporter

    Requiring setuptools 0.6.14 in fixes the problem on lucid. I guess that version includes the fix.

  5. Log in to comment