community.general icon indicating copy to clipboard operation
community.general copied to clipboard

udm_user imports deprecated stdlib library 'crypt'

Open felixfontein opened this issue 3 years ago • 5 comments

Summary

udm_user imports the deprecated stdlib library 'crypt'. See https://peps.python.org/pep-0594/#crypt for more information, that library is scheduled for removal from Python 3.13. The module has to be adjusted to work without this library.

Issue Type

Bug Report

Component Name

udm_user

Ansible Version

Community.general Version

Configuration

No response

OS / Environment

No response

Steps to Reproduce

Expected Results

Actual Results

No response

Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

felixfontein avatar May 18 '22 20:05 felixfontein

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar May 18 '22 20:05 ansibullbot

cc @keachi click here for bot help

ansibullbot avatar May 18 '22 20:05 ansibullbot

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

ansibullbot avatar Nov 10 '22 22:11 ansibullbot

This is still deprecated in Python 3.11, and will be removed in Python 3.12 - which will be released next year. If this isn't fixed by then, the module will stop working with new Python versions.

https://docs.python.org/3.12/library/crypt.html#module-crypt

felixfontein avatar Jul 23 '23 20:07 felixfontein

Python 3.13 no longer supports crypt, so this module no longer supports Python 3.13 :-(

felixfontein avatar Jun 13 '24 19:06 felixfontein