cheetah pkg does not depend on markdown, but egg requires.txt does

Bug #1183634 reported by Adam Gandelman on 2013-05-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cheetah (Ubuntu)
Adam Gandelman
Adam Gandelman

Bug Description

cheetah 2.4.4-3ubuntu1 dropped dependency on python-markdown to avoid a component mismatch (markdown is in universe). Apparently the package functions fine without it, however, cheetah's requires.txt still lists it as a dependency:

$ cat Cheetah.egg-info/requires.txt
Markdown >= 2.0.1

This causes any package that depends on cheetah and uses pkg_resources to manage its dependencies to fail. Caught with nova:

# nova-manage
Traceback (most recent call last):
  File "/usr/bin/nova-manage", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/", line 2707, in <module>
  File "/usr/lib/python2.7/dist-packages/", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Markdown>=2.0.1

Related branches

Dave Walker (davewalker) wrote :

Re-looking at this, maybe it makes sense for us to consider a MIR for Markdown? Whilst nothing in Main seems to require Markdown support in Cheetah templates, other projects may benefit from it.

James Page (james-page) wrote :

I think we should bite the bullet and MIR python-markdown (and python-tidylib).

Changed in cheetah (Ubuntu Saucy):
importance: Undecided → High
assignee: nobody → Adam Gandelman (gandelman-a)
status: New → Triaged
Adam Gandelman (gandelman-a) wrote :

python-markdown MIR bug (LP: #1187191)
python-tidylib MIR bug (LP: #1187185)

Martin Pitt (pitti) on 2013-07-23
Changed in cheetah (Ubuntu Saucy):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cheetah - 2.4.4-3.fakesync

cheetah (2.4.4-3.fakesync) saucy; urgency=low

  * debian/control: Add python-markdown back now that python-markdown has
    been promoted to main. Removes Ubuntu delta. (LP: #1183634)
 -- Adam Gandelman <email address hidden> Tue, 23 Jul 2013 10:34:24 +0200

Changed in cheetah (Ubuntu Saucy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers