Removal of crypt in Python3.13

Bug #2083955 reported by Iury Gregory Melo Ferreira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Iury Gregory Melo Ferreira
ironic-python-agent
Fix Released
High
Iury Gregory Melo Ferreira

Bug Description

Python 3.13 removed the standard crypt lib[1][2], this affects Ironic and IPA as reported by Thomas Goirand (zigo) [3]

[1] https://peps.python.org/pep-0594/#deprecated-modules
[2] https://docs.python.org/3/library/crypt.html
[3] https://<email address hidden>/thread/KFUNACIFRIBFCHRI7BMFM4DWY22OZ2LF/

Changed in ironic-python-agent:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Iury Gregory Melo Ferreira (iurygregory)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/931857

Changed in ironic:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/937173

Changed in ironic-python-agent:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic-python-agent (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by "Thomas Goirand <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/936357
Reason: Abandon in favor of https://review.opendev.org/c/openstack/ironic/+/937173

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.opendev.org/c/openstack/ironic/+/937173
Committed: https://opendev.org/openstack/ironic/commit/95f514da06625fb012e182b82e4a03ccf95b573e
Submitter: "Zuul (22348)"
Branch: master

commit 95f514da06625fb012e182b82e4a03ccf95b573e
Author: Takashi Kajinami <email address hidden>
Date: Thu Dec 5 21:59:05 2024 +0900

    Replace crypt module

    The crypt module was removed in Python 3.13 . Replace the module by
    new methods from oslo_utils.secretutils .

    Closes-Bug: #2083955
    Change-Id: Ib574fc1b0f267e9b42f899f02a7ef84188ef9e85

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic-python-agent (master)

Reviewed: https://review.opendev.org/c/openstack/ironic-python-agent/+/937175
Committed: https://opendev.org/openstack/ironic-python-agent/commit/eda6c81cbf0a0a3c57f29408ac02eb8d3d14d20c
Submitter: "Zuul (22348)"
Branch: master

commit eda6c81cbf0a0a3c57f29408ac02eb8d3d14d20c
Author: Takashi Kajinami <email address hidden>
Date: Thu Dec 5 22:03:12 2024 +0900

    Replace crypt module

    The crypt module was removed in Python 3.13 . Replace the module by
    new methods from oslo_utils.secretutils .

    Closes-Bug: #2083955
    Change-Id: I61060fc13aabc8116c3d0f8ad50ee8c415675f31

Changed in ironic-python-agent:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic-python-agent 10.1.0

This issue was fixed in the openstack/ironic-python-agent 10.1.0 Epoxy release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 28.0.0

This issue was fixed in the openstack/ironic 28.0.0 Epoxy release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by "Iury Gregory Melo Ferreira <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/ironic/+/931857

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.