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

Fix cli for Python 3.7 - tar.add(exclude=) has been deprecated #294

Open
cfregly opened this issue Apr 17, 2019 · 0 comments
Open

Fix cli for Python 3.7 - tar.add(exclude=) has been deprecated #294

cfregly opened this issue Apr 17, 2019 · 0 comments
Labels

Comments

@cfregly
Copy link
Contributor

cfregly commented Apr 17, 2019

  File "/root/miniconda3/bin/pipeline", line 11, in <module>
    sys.exit(_main())
  File "/root/miniconda3/lib/python3.7/site-packages/cli_pipeline/cli_pipeline.py", line 5734, in _main
    _fire.Fire()
  File "/root/miniconda3/lib/python3.7/site-packages/fire/core.py", line 127, in Fire
    component_trace = _Fire(component, args, context, name)
  File "/root/miniconda3/lib/python3.7/site-packages/fire/core.py", line 366, in _Fire
    component, remaining_args)
  File "/root/miniconda3/lib/python3.7/site-packages/fire/core.py", line 542, in _CallCallable
    result = fn(*varargs, **kwargs)
  File "/root/miniconda3/lib/python3.7/site-packages/cli_pipeline/cli_pipeline.py", line 1470, in resource_upload
    absolute_path,
  File "/root/miniconda3/lib/python3.7/site-packages/cli_pipeline/cli_pipeline.py", line 2786, in model_archive_tar
    tar.add(model_path, arcname=_model_subdir_name, exclude=exclude_file, filter=_filter_tar)
TypeError: add() got an unexpected keyword argument 'exclude'
@cfregly cfregly added the cli label Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant