-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
pip package docker's dependency on requests #48780
Comments
this seems to be on purpose with pip not wanting ot try to uninstall distutils packages. You can see issues: for explanations. In pip 10 they make sure they don't try to uninstall distutils packages. One workaround in that issue is to downgrade to pip 9. in relation to the requests package being managed by our repo ping @dmurphy18 is there a specific reason we are using distutils? |
Thanks! I have applied the workaround of downgrading to pip 9.0.3. But I
imagine we will move to pip 10.0.x one day. Would SaltStack move away from
using distutils to manage the RPMs it publishes?
|
You will need to uninstall the system package using your package manager, and then pip install requests instead. Or you can use your package manager to install python-docker or python-docker-py, depending on the distribution. |
@rongshengfang FYI the current point releases for Salt 2018.3.4 and 2019.2.0 no longer provide a python-requests package from SaltStack but rely on the underlying package from the OS. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
Description of Issue/Question
I am trying to install the pip package
docker
as the prerequisite of thedocker_*
states (on CentOS 7.5), but running into an issue with the install:requests 2.6.0 was installed via yum as part of the requirement for salt-minion and it's from SaltStack's yum repo.
How do I get the pip package
docker
properly installed?Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
pip install docker
on CentOS 7.5 with SaltStack 2018.3.2.Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)The text was updated successfully, but these errors were encountered: