-
Notifications
You must be signed in to change notification settings - Fork 76
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
Docker: doesn't work with requests-2.32.1 #256
Comments
Same here with:
|
Please make sure to install community.docker 3.10.2 or newer (right now that's the latest version). It contains a fix for this issue. |
This request release is bugged. ansible-community/molecule-plugins#256
I believe molecule-plugins/src/molecule_plugins/docker/driver.py Lines 270 to 273 in b48ead5
|
Ouch, yes, if it forces community.docker to 3.4.11, then well, you're totally out of luck. Then you need to stick to requests < 2.32.0. |
This is a temporary workaround for molecule+docker [1]. [1] ansible-community/molecule-plugins#256 (comment)
This is a temporary workaround for molecule+docker [1]. [1] ansible-community/molecule-plugins#256 (comment)
Installing the |
manually updating community.docker did not fix it for me, had to downgrade requests to 2.30.0 (2.31.0 did not work either)
Also tried:
After updating above config to requests 2.32.0 issue reoccured |
@MaxBidlingmaier which parts of community.docker are you using (and which aren't working for you)? If you are using the Swarm modules, you must upgrade Docker SDK for Python as well. Also I have never heard of problems with requests 2.31.0 so far. What are the exact problems you have with it? (Also note that requests 2.32.0 has been yanked from PyPI. You should either use a version before that, or after that.) |
@felixfontein : Just "normal" docker part (no swarm), see my molecule.yml below
|
A new version of the `requests` library breaks molecule's docker plugin, which causes continuous integration tests to fail [1]. [1] ansible-community/molecule-plugins#256
A new version of the `requests` library breaks molecule's docker plugin, which causes continuous integration tests to fail [1]. [1] ansible-community/molecule-plugins#256
Any update on this issue? |
A new version of the
requests
library has been released on pypi - https://pypi.org/project/requests/2.32.1/ . This seems incompatible with the docker molecule plugin. When trying to runmolecule converge
on a project using the docker plugin, I get a message as follows:Downgrading to a version of the requests library <2.32 resolves the issue and molecule works as normal:
Output of
molecule --version
The text was updated successfully, but these errors were encountered: