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

Setuptools warning #76

Closed
Adoro opened this issue Feb 23, 2020 · 2 comments
Closed

Setuptools warning #76

Adoro opened this issue Feb 23, 2020 · 2 comments

Comments

@Adoro
Copy link

Adoro commented Feb 23, 2020

When I start tiangolo/uwsgi-nginx-flask:python3.7 I get the following warning:

Checking for script in /app/prestart.sh
Running script /app/prestart.sh
Running inside /app/prestart.sh, you could add migrations to this file, e.g.:

#! /usr/bin/env bash

# Let the DB start
sleep 10;
# Run migrations
alembic upgrade head

/app/pkg_resources/py2_warn.py:22: UserWarning: Setuptools will stop working on Python 2
************************************************************
You are running Setuptools on Python 2, which is no longer
supported and
>>> SETUPTOOLS WILL STOP WORKING <<<
in a subsequent release (no sooner than 2020-04-20).
Please ensure you are installing
Setuptools using pip 9.x or later or pin to `setuptools<45`
in your environment.
If you have done those things and are still encountering
this message, please comment in
https://github.com/pypa/setuptools/issues/1458
about the steps that led to this unsupported combination.
************************************************************
  sys.version_info < (3,) and warnings.warn(pre + "*" * 60 + msg + "*" * 60)

I believe this has to do with supervisor but it looks like supervisord version 4.1.0 is being used which is compatible with Python 3.4 and up. Anyone familiar with this issue and knows how to solve it?

@tiangolo
Copy link
Owner

I just tried it and I don't get that error. Could it be that you are installing some Python 2 packages?

If your problem persists, please add a small, self-contained example to see the error.

@github-actions
Copy link

github-actions bot commented May 6, 2020

Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues.

@github-actions github-actions bot closed this as completed May 6, 2020
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

2 participants