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

expects_obj ImportError from argh (recently deprecated) #8

Open
noische opened this issue Feb 5, 2024 · 0 comments
Open

expects_obj ImportError from argh (recently deprecated) #8

noische opened this issue Feb 5, 2024 · 0 comments

Comments

@noische
Copy link

noische commented Feb 5, 2024

I'm trying to install dizest on Ubuntu machine and the following is the error message I got:

$ dizest install codes/dizest
Traceback (most recent call last):
File "/home/noische/.local/bin/dizest", line 5, in
from dizest.cmd import main
File "/home/noische/.local/lib/python3.10/site-packages/dizest/cmd.py", line 10, in
from .command.run import run, server, kill
File "/home/noische/.local/lib/python3.10/site-packages/dizest/command/run.py", line 3, in
from argh import arg, expects_obj
ImportError: cannot import name 'expects_obj' from 'argh' (/home/noische/.local/lib/python3.10/site-packages/argh/init.py)

It seems that the latest argh 0.31.2 has removed expects_obj().
dizest install works fine with argh==0.30.5

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