Skip to content
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

service: compare version without LooseVersion #74508

Merged
merged 1 commit into from
May 7, 2021

Conversation

Akasurde
Copy link
Member

SUMMARY

The distutils module is not shipped with SUNWPython on Solaris.
It's in the SUNWPython-devel package. Do not use LooseVersion.

Fixes: #74488

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

changelogs/fragments/74488_solaris_looseversion.yml
lib/ansible/modules/service.py

@ansibot ansibot added affects_2.12 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Apr 30, 2021
@samdoran samdoran removed the needs_triage Needs a first human triage before being processed. label May 4, 2021
The distutils module is not shipped with SUNWPython on Solaris.
It's in the SUNWPython-devel package. Do not use LooseVersion.

Fixes: ansible#74488

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@samdoran samdoran merged commit 4d7dc15 into ansible:devel May 7, 2021
@Akasurde Akasurde deleted the i74488 branch May 7, 2021 15:18
@ansible ansible locked and limited conversation to collaborators Jun 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.12 bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. has_issue module This issue/PR relates to a module. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

service module on Solaris: NameError: name 'LooseVersion' is not defined
3 participants