Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing cwlformat requirement #101

Open
auberginekenobi opened this issue Jan 8, 2025 · 0 comments
Open

Missing cwlformat requirement #101

auberginekenobi opened this issue Jan 8, 2025 · 0 comments

Comments

@auberginekenobi
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant