Closed faust64 closed 10 months ago
Hi @faust64 ok, I've reproduced this - I missed a dependency in the most recent merged PR.
The quick fix is to install the typing_extensions
module.
I'll release a fixed 1.28.2 shortly that adds the dependency on that module (and also see if I can work out how to add a test for that kind of problem)
oh, great! thanks a lot!
looks great, thanks again!
Hi,
I am using Ansible kubernetes module, with some "validate" option that relies on kubernetes-validate https://docs.ansible.com/ansible/latest/collections/kubernetes/core/k8s_module.html#parameter-validate
As of upgrading kubernetes-validate from 1.27.1 to 1.28.1, I noticed my playbooks would fail with an error such as
I did attempt to rebuild that image, same issue showing.
Using ansible core, 2.15.0. Python 3.9.18 and Python 3.11.15 are present in image. When I do some ansible --version, python 3.9 is the one in use ... while in doubt, all "pip install" we have building this image would run for both python versions, ... I can confirm pip3.9 list and pip3.11 list would both show kubernetes-validate to be installed.
Downgrading to 1.28.0, my playbooks are happy with this. I'm not yet sure what could be wrong here ... In doubt asking here, does this ring a bell?!