Skip to content

Commit

Permalink
Remove deprecated python package distutils (oVirt#516)
Browse files Browse the repository at this point in the history
* Remove deprecated python package distutils

* Update ovirt.py

* Add changelog
  • Loading branch information
mnecas authored Jun 6, 2022
1 parent a045161 commit d0ff6f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/516-remove-distutils-usage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
minor_changes:
- ovirt - Remove deprecated distutils (https://github.com/oVirt/ovirt-ansible-collection/pull/516).
2 changes: 1 addition & 1 deletion plugins/module_utils/ovirt.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

from abc import ABCMeta, abstractmethod
from datetime import datetime
from distutils.version import LooseVersion
from packaging.version import parse as LooseVersion

from ansible_collections.@NAMESPACE@.@NAME@.plugins.module_utils.cloud import CloudRetry
from ansible.module_utils.basic import env_fallback
Expand Down

0 comments on commit d0ff6f8

Please sign in to comment.