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

Bug #1183634 reported by Adam Gandelman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cheetah (Ubuntu)
Fix Released
High
Adam Gandelman
Saucy
Fix Released
High
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/pkg_resources.py", line 2707, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Markdown>=2.0.1

Related branches

Revision history for this message
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.

Revision history for this message
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
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

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

Martin Pitt (pitti)
Changed in cheetah (Ubuntu Saucy):
status: Triaged → Fix Committed
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.