Mako does not depend from Beaker in apt although it does in setuptools

Bug #461281 reported by Marian Sigler
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mako (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-mako

~$ aptitude show python-mako | egrep Depends\|Recommends
Depends: python, python-central (>= 0.5.8)
Recommends: python-beaker (>= 0.7.1)

~$ cat /usr/share/pycentral/python-mako/site-packages/Mako-0.1.10.egg-info/requires.txt
Beaker

~$ dpkg -S /usr/share/pycentral/python-mako/site-packages/Mako-0.1.10.egg-info/requires.txt
python-mako: /usr/share/pycentral/python-mako/site-packages/Mako-0.1.10.egg-info/requires.txt

The `Recommends` is fine as long as you have that `with-recommends` option enabled in apt – It however should also work without.

I've checked the packages of all supported ubuntu versions, it's all the same, it just recommends Beaker.

Revision history for this message
Marian Sigler (maix42) wrote :

In case it might help: This caused a problem when using Pygments:
- Install python-mako and python-pygments (--without-recommends)
- Run `list(pygments.lexers.get_all_lexers())`
- Raises DistributionNotFound: Beaker

Revision history for this message
Marian Sigler (maix42) wrote :

We have just discovered (thanks to Florian Apolloner and Georg Brandl) that mako does not depend from beaker if one does not use the cache functionality. Considering that the Recommends in the package is justified – but then beaker must be removed from the requires.txt (either upstream or just in the Ubuntu package) to avoid such problems as described above. I don't know both tools so I don't know which one is the better solution.

Revision history for this message
Piotr Ożarowski (piotr) wrote :

fixed in Debian (mako 0.2.5-2)

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Sync requested, please see bug #477036.

Thanks for your work!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mako - 0.2.5-2

---------------
mako (0.2.5-2) unstable; urgency=low

  * Add --prefix=/usr to setup.py's install command (fixes FTBFS bug with
    python2.6)
  * Remove requires.txt from Python's Egg metadata (dpkg handles dependencies
    way better, closes LP: #461281)

mako (0.2.5-1) unstable; urgency=low

  * New upstream release
  * debian/copyright file updated
  * Switch to python-support
    - debian/preinst file added (to remove python-central files)
  * Standards-Version bumped to 3.8.3 (no changes needed)
 -- Alessio Treglia <email address hidden> Tue, 24 Nov 2009 00:18:22 +0000

Changed in mako (Ubuntu):
status: New → Fix Released
Revision history for this message
Marian Sigler (maix42) wrote :

Thanks, pox, for you quick response, and thanks for syncing, anonymous uploader :-)

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.