Generate separate dependencies for extra and version requirements

Bug #628560 reported by Gediminas Paulauskas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
van.pydeb
Fix Released
Medium
Gediminas Paulauskas

Bug Description

When a requirement specifies both extras and versions, van.pydeb may generate an uninstallable package.

zope.app.component has a problematic dependency:

zope.component [hook,zcml] >= 3.8

This results in

Depends: ... python-zope.component-hook (>= 3.8), python-zope.component-zcml (>= 3.8), ...

But python-zope.component-hook is a virtual package, thus does not have a version. When trying to install an error occurs:

Unpacking replacement python-zope.app.component ...
dpkg: dependency problems prevent configuration of python-zope.app.component:
 python-zope.app.component depends on python-zope.component-hook (>= 3.8); however:
  Package python-zope.component-hook is not installed.

To solve this, versions and extras need to be separate dependencies:

Depends: ... python-zope.component (>= 3.8), python-zope.component-hook, python-zope.component-zcml, ...

Related branches

Changed in van.pydeb:
assignee: nobody → Gediminas Paulauskas (menesis)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

The fix is committed to zope svn, will be available in version 1.3.3

Changed in van.pydeb:
status: In Progress → Fix Committed
Changed in van.pydeb:
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.