Skip to content

[CI][Python] parquet/test_encryption.py fails with NameError: name 'InMemoryKmsClient' is not defined #51446

Closed

Description

@raulcd

Describe the bug, including details regarding any error messages, version, and platform.

Some of our nightly CI jobs have started failing with:


==================================== ERRORS ====================================
_ ERROR collecting root/venv/lib/python3.12/site-packages/pyarrow/tests/parquet/test_encryption.py _
root/venv/lib/python3.12/site-packages/pyarrow/tests/parquet/test_encryption.py:683: in <module>
    def recording_kms_factory(created_configs, client_class=InMemoryKmsClient):
                                                            ^^^^^^^^^^^^^^^^^
E   NameError: name 'InMemoryKmsClient' is not defined
=========================== short test summary info ============================

This seems related to:

Component(s)

Continuous Integration, Python

Activity

  1. raulcd commented on Sep 22, 2026

    @raulcd
    MemberAuthor
  2. adamreeve commented on Sep 22, 2026

    @adamreeve
    Contributor

    @raulcd I think this should be fixed by #51457. I've reproduced the crash locally and verified it's fixed for me. But I haven't run all of the failing CI jobs in Docker.

  3. added a commit that references this issue on Sep 22, 2026
  4. added this to the 26.0.0 milestone on Sep 22, 2026
  5. raulcd commented on Sep 22, 2026

    @raulcd
    MemberAuthor

    Issue resolved by pull request 51457
    #51457

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions