dh-python fails to parse "!=" relationship

Bug #1475375 reported by James Page
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dh-python (Ubuntu)
Fix Released
High
Unassigned
Trusty
Fix Released
High
James Page

Bug Description

[Impact]
python dependency definitions which declare != generate broken binary dependencies (trailing -).

[Test Case]
Backports of misc packages to the Cloud Archive for Ubuntu 14.04 (designate):

Package: python-designate
Source: designate
Priority: extra
Section: python
Installed-Size: 2318
Maintainer: Ubuntu Developers <email address hidden>
Architecture: all
Version: 1:1.0.0~b1-0ubuntu3~cloud0
Provides: python2.7-designate
Depends: python-babel, python-dnspython, python-eventlet (>= 0.17.4), python-flask (<= 1.0), python-greenlet, python-iso8601, python-jinja2, python-jsonschema, python-suds, python-keystonemiddleware (>= 1.5.0), python-memcache, python-migrate (>= 0.9.6), python-mysqldb, python-netaddr, python-neutronclient (>= 1:2.3.11), python-oslo.concurrency (>= 2.0.0), python-oslo.config (>= 1:1.11.0), python-oslo.context (>= 0.2.0), python-oslo.db (>= 1.10.0), python-oslo.i18n (>= 1.5.0), python-oslo.log (>= 1.2.0), python-oslo.messaging (>= 1.8.0), python-oslo.middleware (>= 1.2.0), python-oslo.policy (>= 0.5.0), python-oslo.rootwrap (>= 2.0.0), python-oslo.serialization (>= 1.4.0), python-oslo.utils (>= 1.6.0), python-paste, python-pastedeploy, python-pbr, python-pecan (>= 0.8.0), python-psutil, python-requests (>= 2.5.2), python-routes, python-six (>= 1.9.0), python-sqlalchemy (>= 0.9~), python-stevedore (>= 1.5.0), python-webob, python-werkzeug, python:any (>= 2.7.5-5~), python-oslo.middleware-, python-suds-jurko, python-jsonschema-, python-sqlalchemy (<< 0.10), python-oslo.messaging-, python-routes-, python-pkg-resources, python:any (<< 2.8)

[Regression Potential]
Minimal - in later releases; only impacts on 14.04 (backporting for Cloud Archive).

Debian Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754058

James Page (james-page)
description: updated
Changed in dh-python (Ubuntu):
importance: Undecided → High
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
James Page (james-page) wrote :

Patched version uploaded to trusty-proposed for SRU team review.

Changed in dh-python (Ubuntu):
status: In Progress → Fix Released
Changed in dh-python (Ubuntu Trusty):
importance: Undecided → High
status: New → In Progress
assignee: nobody → James Page (james-page)
Changed in dh-python (Ubuntu):
assignee: James Page (james-page) → nobody
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello James, or anyone else affected,

Accepted dh-python into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/dh-python/1.20140128-1ubuntu8.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in dh-python (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
James Page (james-page) wrote :

$ dpkg -I python-designate_1.0.0~b1-0ubuntu3_all.deb
 new debian package, version 2.0.
 size 236918 bytes: control archive=14338 bytes.
    1901 bytes, 21 lines control
   56024 bytes, 492 lines md5sums
     164 bytes, 9 lines * postinst #!/bin/sh
     267 bytes, 14 lines * prerm #!/bin/sh
 Package: python-designate
 Source: designate
 Version: 1:1.0.0~b1-0ubuntu3
 Architecture: all
 Maintainer: Ubuntu Developers <email address hidden>
 Installed-Size: 2318
 Depends: python-babel, python-dnspython, python-eventlet (>= 0.17.4), python-flask (<= 1.0), python-greenlet, python-iso8601, python-jinja2, python-jsonschema, python-suds, python-keystonemiddleware (>= 1.5.0), python-memcache, python-migrate (>= 0.9.6), python-mysqldb, python-netaddr, python-neutronclient (>= 1:2.3.11), python-oslo.concurrency (>= 2.0.0), python-oslo.config (>= 1:1.11.0), python-oslo.context (>= 0.2.0), python-oslo.db (>= 1.10.0), python-oslo.i18n (>= 1.5.0), python-oslo.log (>= 1.2.0), python-oslo.messaging (>= 1.8.0), python-oslo.middleware (>= 1.2.0), python-oslo.policy (>= 0.5.0), python-oslo.rootwrap (>= 2.0.0), python-oslo.serialization (>= 1.4.0), python-oslo.utils (>= 1.6.0), python-paste, python-pastedeploy, python-pbr, python-pecan (>= 0.8.0), python-psutil, python-requests (>= 2.5.2), python-routes, python-six (>= 1.9.0), python-sqlalchemy (>= 0.9~), python-stevedore (>= 1.5.0), python-webob, python-werkzeug, python:any (>= 2.7.5-5~), python-sqlalchemy (<< 0.10), python-pkg-resources, python:any (<< 2.8), python-suds-jurko
 Provides: python2.7-designate
 Section: python
 Priority: extra
 Homepage: https://github.com/openstack/designate
 Description: OpenStack DNS as a Service - Python libs
  Designate provides DNSaaS services for OpenStack. It provides a multi-tenant
  REST API for domain & record management. It is Integrated with Keystone for
  authentication, and provides a framework in place to integrate with Nova and
  Neutron notifications (for auto-generated records). Designate supports
  PowerDNS and Bind9 out of the box.
  .
  This package provides the Python libraries.
 Original-Maintainer: PKG OpenStack <email address hidden>
 Python-Version: 2.7

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dh-python - 1.20140128-1ubuntu8.2

---------------
dh-python (1.20140128-1ubuntu8.2) trusty; urgency=medium

  * Ensure that != dependencies are correctly parsed, avoiding generation
    of broken binary package dependencies (LP: #1475375):
    - d/p/fix-not-equals-parsing.patch: Cherry pick fix from Debian
      bug tracker.

 -- James Page <email address hidden> Thu, 16 Jul 2015 17:38:15 +0100

Changed in dh-python (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of the Stable Release Update for dh-python has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.