Skip to content

[Dev][Python] Unused python scripts under python/scripts #49046

Closed

Description

@raulcd

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

We have two scripts under python/scripts which doesn't seem used nor documented:

https://github.com/apache/arrow/blob/0e9e32fc231a81552fac4818ab7c671ca04dabec/python/scripts/test_leak.py
and
https://github.com/apache/arrow/blob/0e9e32fc231a81552fac4818ab7c671ca04dabec/python/scripts/test_imports.py

I think test_imports.py can be removed. test_leak.py can potentially be useful as a snippet on how to check for possible leaks but if we want to keep it we should probably document it.

Component(s)

Developer Tools, Python

Activity

  1. raulcd commented on Jan 28, 2026

    @raulcd
    MemberAuthor

    @pitrou @AlenkaF those seem to be related to some ancient tests and are isolated from our test structure. Do you know if those are used or are useful to keep?

  2. pitrou commented on Jan 28, 2026

    @pitrou
    Member

    I would probably remove them.

  3. added a commit that references this issue on Jul 25, 2026
  4. raulcd commented on Jul 27, 2026

    @raulcd
    MemberAuthor

    @GujaLomsadze can you add a comment here so the issue can be assigned to you. If you don't add a comment the assign job fails :)

  5. GujaLomsadze commented on Jul 27, 2026

    @GujaLomsadze
    Contributor

    take

  6. added a commit that references this issue on Jul 27, 2026
  7. added this to the 26.0.0 milestone on Jul 27, 2026
  8. raulcd commented on Jul 27, 2026

    @raulcd
    MemberAuthor

    Issue resolved by pull request 50640
    #50640

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