#123 Debian: sardana dependency on ipython-qtconsole

Jul14
resolved
None
spock
bug
2014-04-16
2014-03-04
Carlos Pascual
No

This is about debian packaging of sardana (hi Fred!) :

I noted that ipython-qtconsole is a requirement for spock but the python-sardana deb package only depends on ipython (via python-pytango), while Ipython-qtconsole is just a suggestion from the ipython package.

What would you suggest to do?:
a) add a dependency of ipython-qtconsole for python-sardana
b) add a recommendation of ipython-qtconsole for python-sardana
c) change sardana so that ipython-qtconsole is really optional
d) something else?

I personally think that b+c is a good way to go...

Discussion

  • On Tue, Mar 04, 2014 at 08:59:40AM +0000, Carlos Pascual wrote:

    This is about debian packaging of sardana (hi Fred!) :

    I noted that ipython-qtconsole is a requirement for spock but the python-sardana deb package only depends on ipython (via python-pytango), while Ipython-qtconsole is just a suggestion from the ipython package.

    Hello, Indeed I missed this

    What would you suggest to do?:
    a) add a dependency of ipython-qtconsole for python-sardana
    b) add a recommendation of ipython-qtconsole for python-sardana
    c) change sardana so that ipython-qtconsole is really optional
    d) something else?

    I personally think that b+c is a good way to go...

    for now I neeed to add a Depends because spock really depends on the
    qtconsole.

    with c I can downgrad the dependency to Suggest to avoid automatic
    installation of the qt part when installing the python-sardana package.

    A Recommends is installed by default on Debian system. the administrator
    need to configure his system to avoid automatic installation of the
    Recommends.

    See you

    Fred

    --
    GPG public key 4096R/4696E015 2011-02-14
    fingerprint = E92E 7E6E 9E9D A6B1 AA31 39DC 5632 906F 4696 E015
    uid Picca Frédéric-Emmanuel picca@synchrotron-soleil.fr

    GPG public key 1024D/A59B1171 2009-08-11
    fingerprint = 1688 A3D6 F0BD E4DF 2E6B 06AA B6A9 BA6A A59B 1171
    uid Picca Frédéric-Emmanuel picca@debian.org

     
  • Carlos Pascual
    Carlos Pascual
    2014-03-26

    Note: Teresa just pointed that a very similar bug was reported to pytango (https://sourceforge.net/p/tango-cs/bugs/539/) and solved in this commit to PyTango SVN:

    https://sourceforge.net/p/tango-cs/code/21208/

    A very similar solution may be ok if applied to the run method in genutils.py (to both 0_11 and 1_0 versions)

     
  • Teresa Nunez
    Teresa Nunez
    2014-03-26

    I have just now send a patch for this (like it was done
    in PyTango).

     
  • Carlos Pascual
    Carlos Pascual
    2014-04-16

    • status: waiting --> resolved
    • assigned_to: Carlos Pascual
     
  • Carlos Pascual
    Carlos Pascual
    2014-04-16

    patch applied.
    It took some time because a previous commit for bug #87 introduced a conflict.