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

Installing supervisor in docker image as root downgrades setuptools #1678

Open
opcoder0 opened this issue Jan 21, 2025 · 1 comment
Open

Comments

@opcoder0
Copy link

I am building a Docker image with supervisor and other Python packages. The Docker image is based on debian:bullseye with Python 3.9.2. All the installs in the image are happening as root user and the installation of supervisor via pip3 install supervisor downgrades setuptools from 57.x to 40.8. This causes other package installations to fail.

If I tried to install supervisor on my non-root environment the setuptools is not downgraded.

Image

Image

@mnaberez
Copy link
Member

the installation of supervisor via pip3 install supervisor downgrades setuptools from 57.x to 40.8.

The version of the supervisor package being installed in the screenshots above, 4.2.5, has setuptools as its only dependency in setup.py. It lists only setuptools and not any particular version of setuptools.

Since supervisor does not require any particular version of setuptools and has no other dependencies which might, I don't know why setuptools is being downgraded.

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

No branches or pull requests

2 participants