MycroftAI / mycroft-core

Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai
Apache License 2.0
6.51k stars 1.27k forks source link

UserWarning: Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead #3008

Open zugaldia opened 2 years ago

zugaldia commented 2 years ago

I ran into this error while installing the project today. This is my setup:

Try to provide steps that we can use to replicate the Issue

Install Mycroft following the instructions on this repo. I chose to update automatically, to build mimic, to add mycroft to my PATH, and to remove libjack-jackd2-0.

Provide log files or other output to help us see the error

I see the following error on the logs (I don't know how critical it is):

  Running command git checkout -q 4e73cabf1b2445b3c1ab6b3aed14424d32d140ac
    ERROR: Command errored out with exit status 1:
     command: /home/antonio/code/vendor/mycroft-core/.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-cxl82zx3/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-cxl82zx3/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-req-build-cxl82zx3/pip-egg-info
         cwd: /tmp/pip-req-build-cxl82zx3/
    Complete output (3 lines):
    /home/antonio/code/vendor/mycroft-core/.venv/lib/python3.8/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'upload-dir' will not be supported in future versions. Please use the underscore name 'upload_dir' instead
      warnings.warn(
    error in behave setup command: use_2to3 is invalid.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
krisgesling commented 2 years ago

Hi Zugaldia,

Thanks for filing a bug report.

This won't affect your usage of Mycroft - it's an upstream issue in some of our testing packages. It has been fixed in the dev branch and will be in the next minor/major release of mycroft-core.

You can find more info on the issue here: https://github.com/MycroftAI/mycroft-core/pull/2996

I'll leave this issue open until it is released into stable as others might see the same thing.

zugaldia commented 2 years ago

Sounds great, thanks @krisgesling for the quick eyes.