[openstack-dev] oslo-config and debian packaging

Eric Windisch eric at cloudscaling.com
Sat Mar 2 15:41:53 UTC 2013


> 
> In Ubuntu, we also currently have it overridden in debian/pydist-overrides.
> 
> However, we discussed this last week with fellow Ubuntu developers, as
> the Ubuntu package was called python-oslo-config. We are planning to
> re-name it to python-oslo.config on the next upload to reflect the
> convention that has been formed.
> 
> Prior art is things such as, "python-zope.interfaces"

Because install_requires sets 'oslo-config', dh_python2 will look up a translation for this module. I attempted overriding this in pydist-overrides as such:

oslo-config python-oslo.config

However, this does NOT work. The dependency stays as 'python-oslo-config'. Changing this for modules without dashes in their name works, i.e.

eventlet python-eventlet-just-an-example

I end up with a package that looks like this:

Depends: python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8), python-eventlet-just-an-example, python-zmq, python-kombu, python-oslo-config

I suspect I may be running into this bug? http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657665

I'll have to check if this patch landed into Quantal or not, or if there is a regression.

Regards,
Eric Windisch




More information about the OpenStack-dev mailing list