Closed drorasaf closed 5 years ago
Ah...I think the docopt-subcommands API has changed and we need to account for that. The quickest solution, I think, would be to specify a version for docopt-subcommands in our setup.py; we would just use the last version that worked for cosmic ray.
On Mon, Aug 5, 2019 at 11:38 AM Dror Asaf notifications@github.com wrote:
If I follow the guide:
pip install cosmic_ray cosmic-ray new-config config.toml
The output is:
Traceback (most recent call last): File "$USER/.local/bin/cosmic-ray", line 7, in
from cosmic_ray.cli import main File "$USER/.local/lib/python3.6/site-packages/cosmic_ray/cli.py", line 67, in doc_template=DOC_TEMPLATE) TypeError: init() got an unexpected keyword argument 'version' Seems like it is unsynced with docopt commands, the moment I remove version from the constructor, I get other issues
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sixty-north/cosmic-ray/issues/450?email_source=notifications&email_token=AAATK6AI75ZCWNMSQUU5C4LQC7YIHA5CNFSM4IJJKAQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDKXKIA, or mute the thread https://github.com/notifications/unsubscribe-auth/AAATK6HGUOXTDRKRILINX73QC7YIHANCNFSM4IJJKAQQ .
Me too
$ cosmic-ray new-config config.toml Traceback (most recent call last): File "/home/ian/.virtualenvs/gmpy2/bin/cosmic-ray", line 6, in <module> from cosmic_ray.cli import main File "/home/ian/.virtualenvs/gmpy2/lib/python3.7/site-packages/cosmic_ray/cli.py", line 67, in <module> doc_template=DOC_TEMPLATE) TypeError: __init__() got an unexpected keyword argument 'version'
I've uploaded cosmic-ray-5.5.0 to pypi, so that should fix this. Let me know if it works for you now.
Will do, thanks!
I have now successfully completed the quickstart, thanks for fixing this!
No problem, and sorry for the delay. I have unfortunately not been able to give CR much attention lately.
If I follow the guide:
The output is:
Seems like it is unsynced with docopt commands, the moment I remove version from the constructor, I get other issues