Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Missing cwlformat requirement #101

@auberginekenobi

Description

@auberginekenobi

I think requirements.txt should include a cwlformat dependency? Easily fixable if you used pip to install sbpack but breaks the recommended pipx install since it's installed by default into an isolated environment.

REPRO:

Expected behavior:

> pipx install sbpack
> sbpull
usage: sbpull [-h] [--unpack] profile appid outname
sbpull: error: the following arguments are required: profile, appid, outname

Actual behavior:

> pipx install sbpack
> sbpull
Traceback (most recent call last):
  File "/Users/ochapman/.local/bin/sbpull", line 5, in <module>
    from sbpack.unpack import main
  File "/Users/ochapman/.local/pipx/venvs/sbpack/lib/python3.13/site-packages/sbpack/unpack.py", line 14, in <module>
    from cwlformat.formatter import stringify_dict
ModuleNotFoundError: No module named 'cwlformat'

Workaround:

> pip install sbpack cwlformat cwltool
> sbpull
usage: sbpull [-h] [--unpack] profile appid outname
sbpull: error: the following arguments are required: profile, appid, outname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions