Snakemake storage plugin: sftp

https://img.shields.io/badge/repository-github-blue?color=%23022c22 https://img.shields.io/badge/author-Johannes%20Koester-purple?color=%23064e3b PyPI - Version PyPI - License

Error

Not a valid plugin:  WARN Using local manifest /tmp/tmp0_jov_f9/pixi.toml rather than /home/runner/work/snakemake-plugin-catalog/snakemake-plugin-catalog/pixi.toml from environment variable `PIXI_PROJECT_MANIFEST`
✨ Pixi task (extract-info): python -c "from snakemake_interface_storage_plugins.registry import StoragePluginRegistry; plugin = StoragePluginRegistry().get_plugin('sftp'); import json; fmt_type = lambda thetype: thetype.__name__ if thetype is not None else None; fmt_setting_item = lambda key, value: (key, fmt_type(value)) if key == 'type' else (key, value); fmt_setting = lambda setting: dict(map(lambda item: fmt_setting_item(*item), setting.items())); print(json.dumps(list(map(fmt_setting, plugin.get_settings_info()))))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    from snakemake_interface_storage_plugins.registry import StoragePluginRegistry; plugin = StoragePluginRegistry().get_plugin('sftp'); import json; fmt_type = lambda thetype: thetype.__name__ if thetype is not None else None; fmt_setting_item = lambda key, value: (key, fmt_type(value)) if key == 'type' else (key, value); fmt_setting = lambda setting: dict(map(lambda item: fmt_setting_item(*item), setting.items())); print(json.dumps(list(map(fmt_setting, plugin.get_settings_info()))))
                                                                                             ~~~~~~~~~~~~~~~~~~~~~^^
  File "/tmp/tmp0_jov_f9/.pixi/envs/default/lib/python3.13/site-packages/snakemake_interface_common/plugin_registry/__init__.py", line 40, in __init__
    self.collect_plugins()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/tmp/tmp0_jov_f9/.pixi/envs/default/lib/python3.13/site-packages/snakemake_interface_common/plugin_registry/__init__.py", line 97, in collect_plugins
    module = importlib.import_module(moduleinfo.name)
  File "/tmp/tmp0_jov_f9/.pixi/envs/default/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/tmp/tmp0_jov_f9/.pixi/envs/default/lib/python3.13/site-packages/snakemake_storage_plugin_sftp/__init__.py", line 6, in <module>
    import pysftp
  File "/tmp/tmp0_jov_f9/.pixi/envs/default/lib/python3.13/site-packages/pysftp/__init__.py", line 14, in <module>
    from paramiko import AgentKey, RSAKey, DSSKey
ImportError: cannot import name 'DSSKey' from 'paramiko' (/tmp/tmp0_jov_f9/.pixi/envs/default/lib/python3.13/site-packages/paramiko/__init__.py). Did you mean: 'RSAKey'?


Please file a corresponding issue in the plugin's `repository <https://github.com/snakemake/snakemake-storage-plugin-sftp>`__ (if there is none yet).

Warning

No documentation found in repository https://github.com/snakemake/snakemake-storage-plugin-sftp. The plugin should provide a docs/intro.md with some introductory sentences and optionally a docs/further.md file with details beyond the auto-generated usage instructions presented in this catalog.