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

Every invocation of shub prints UserWarning: Setuptools is replacing distutils. #428

Closed
p-linnane opened this issue Jun 23, 2023 · 1 comment

Comments

@p-linnane
Copy link

A warning is printed every time shub is invoked. Everything seems to be working normally, but this warning is printed each time which clutters the output.

$ shub
/Users/XXX/Downloads/shubenv/lib/python3.11/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
Usage: shub [OPTIONS] COMMAND [ARGS]...

  shub is the Scrapinghub command-line client. It allows you to deploy
  projects or dependencies, schedule spiders, and retrieve scraped data or
  logs without leaving the command line.

$ shub version
/Users/XXX/Downloads/shubenv/lib/python3.11/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
  warnings.warn("Setuptools is replacing distutils.")
2.14.5
@p-linnane p-linnane closed this as not planned Won't fix, can't repro, duplicate, stale Aug 13, 2023
@Gallaecio Gallaecio reopened this Jan 24, 2024
@Gallaecio
Copy link
Member

Fixed by #442

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants