Skip to content

yum module is not supported with Python 3 #298

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

Closed
xkrt opened this issue Sep 24, 2020 · 1 comment · Fixed by #301
Closed

yum module is not supported with Python 3 #298

xkrt opened this issue Sep 24, 2020 · 1 comment · Fixed by #301

Comments

@xkrt
Copy link

xkrt commented Sep 24, 2020

Hi!

Documentation of Ansible's yum module says:

This module only works on Python 2. If you require Python 3 support see the dnf module.

but ansible-datadog uses yum unconditionally, see

and

Python 2 was retired at January 1, 2020 and I'm working on switching to Python 3 as probably many others.

I believe ansible-datadog should use dnf module instead of yum if the current interpreter is 3.

@KSerrania
Copy link
Contributor

Hi @xkrt!

Thanks for the report, and sorry for the (very) late answer! I opened #301 which should fix this issue. Feel free to comment if you think there's anything that could be improved there!

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

Successfully merging a pull request may close this issue.

2 participants