Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510616 - app-backup/obnam-1.8 should RDEPEND on dev-python/paramiko - obnam: ImportError: No module named paramiko
Summary: app-backup/obnam-1.8 should RDEPEND on dev-python/paramiko - obnam: ImportErr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-18 07:14 UTC by Small_Penguin
Modified: 2014-05-19 18:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Small_Penguin 2014-05-18 07:14:28 UTC
After updating to 1.8 and doing a depclean,the following packages got removed:
dev-python/ecdsa
dev-python/pycrypto
dev-python/paramiko

Now when trying the new obnam I got the following error message:

obnam generations
CRITICAL:root:Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cliapp/app.py", line 174, in _run
    self.enable_plugins()
  File "/usr/lib64/python2.7/site-packages/cliapp/app.py", line 504, in enable_plugins
    for plugin in self.pluginmgr.plugins:
  File "/usr/lib64/python2.7/site-packages/cliapp/pluginmgr.py", line 75, in plugins
    self._plugins = self.load_plugins()
  File "/usr/lib64/python2.7/site-packages/cliapp/pluginmgr.py", line 112, in load_plugins
    for plugin in self.load_plugin_file(pathname):
  File "/usr/lib64/python2.7/site-packages/cliapp/pluginmgr.py", line 132, in load_plugin_file
    ('.py', 'r', imp.PY_SOURCE))
  File "/usr/lib64/python2.7/site-packages/obnamlib/plugins/sftp_plugin.py", line 40, in <module>
    import paramiko
ImportError: No module named paramiko

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cliapp/app.py", line 174, in _run
    self.enable_plugins()
  File "/usr/lib64/python2.7/site-packages/cliapp/app.py", line 504, in enable_plugins
    for plugin in self.pluginmgr.plugins:
  File "/usr/lib64/python2.7/site-packages/cliapp/pluginmgr.py", line 75, in plugins
    self._plugins = self.load_plugins()
  File "/usr/lib64/python2.7/site-packages/cliapp/pluginmgr.py", line 112, in load_plugins
    for plugin in self.load_plugin_file(pathname):
  File "/usr/lib64/python2.7/site-packages/cliapp/pluginmgr.py", line 132, in load_plugin_file
    ('.py', 'r', imp.PY_SOURCE))
  File "/usr/lib64/python2.7/site-packages/obnamlib/plugins/sftp_plugin.py", line 40, in <module>
    import paramiko
ImportError: No module named paramiko

The ebuild has changed in that regard and explicitly declares that paramiko-1.13.0 may not be installed (if that is written correctly):
DEPEND="${PYTHON_DEPS}
        dev-python/cliapp
        dev-python/fuse-python
        dev-python/larch
        !=dev-python/paramiko-1.13.0
        dev-python/tracing
        dev-python/ttystatus
        "
RDEPEND="${DEPEND}"

But this seems not to work as expected.

As for the old 1.7.4 ebuild:
DEPEND="${PYTHON_DEPS}
        dev-python/cliapp
        dev-python/fuse-python
        dev-python/larch
        <dev-python/paramiko-1.13
        dev-python/tracing
        dev-python/ttystatus
        "
RDEPEND="${DEPEND}"

Even if I try to rebuild obnam, paramiko will not get installed. Is there something wrong with paramiko-1.13.0? I have tried to emerge this, and obnam seems functional again, but I don't use SSH/SFTP for backups.

BTW: Very recently, the obnam homepage has changed to obnam.org. While the old link works, the ebuild should probably reflect this change.
Comment 1 Douglas J Hunley 2014-05-19 12:46:17 UTC
ditto here. exact same symptoms as described. please reinstate the rdepend
Comment 2 Marc Schiffbauer gentoo-dev 2014-05-19 18:02:57 UTC
Fixed. Thanks for reporting!