Skip to content

aws iam update-account-password-policy broken in Python 3.14 #10038

Closed

Description

@rittneje

Describe the bug

We have installed awscli v1.44.27 with Python 3.14.2.

Now when we run aws iam update-account-password-policy --minimum-password-length <X> --require-symbols --password-reuse-prevention <X> it always fails with the following error:

badly formed help string

This bug does not manifest with Python 3.13.

Note: While the v2 CLI does not yet support Python 3.14, the v1 CLI claims to.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The command should work as it always has.

Current Behavior

It's totally broken.

Reproduction Steps

Run the aforementioned command in the aforementioned context.

Possible Solution

No response

Additional Information/Context

No response

CLI version used

1.44.27

Environment details (OS name and version, etc.)

Python 3.14.2, Alpine 3.23

Activity

  1. added
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Jan 29, 2026
  2. self-assigned this
    on Jan 29, 2026
  3. added
    investigatingThis issue is being investigated and/or work is in progress to resolve the issue.
    p2This is a standard priority issue
    p1This is a high priority issue
    and removed
    needs-triageThis issue or PR still needs to be triaged.
    p2This is a standard priority issue
    on Jan 29, 2026
  4. adev-code commented on Jan 29, 2026

    @adev-code
    Contributor

    Hello @rittneje, thanks for reaching out and bringing this up. We have confirmed that this is a bug and we are working on a fix. We have also found another command that gives the same error: aws secretsmanager get-random-password.

    We recommend using Python 3.13 for now until the fix is applied.

  5. removed
    investigatingThis issue is being investigated and/or work is in progress to resolve the issue.
    on Jan 29, 2026
  6. adev-code commented on Feb 5, 2026

    @adev-code
    Contributor

    @rittneje, thanks for the patience. A fix has been merged and I have tried the command:
    aws iam update-account-password-policy --minimum-password-length <X> --require-symbols --password-reuse-prevention <X>
    looks like it seems to work now from CLI v1 version: aws-cli/1.44.32. Please try again and let us know if there are still issues.

  7. added
    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.
    and removed
    potential-regressionMarking this issue as a potential regression to be checked by team member
    on Feb 5, 2026
  8. rittneje commented on Feb 7, 2026

    @rittneje
    Author

    Thanks, it is working now with the latest release.

  9. removed
    response-requestedWaiting on additional info and feedback. Will move to "closing-soon" in 7 days.
    on Feb 7, 2026
  10. adev-code commented on Feb 7, 2026

    @adev-code
    Contributor

    @rittneje Thanks for the update. Closing.

  11. github-actions commented on Feb 7, 2026

    @github-actions
    Contributor

    This issue is now closed. Comments on closed issues are hard for our team to see.
    If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugThis issue is a bug.p1This is a high priority issueregression

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions