This is an automated email from the ASF dual-hosted git repository.
alenka pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 2ed86652e4 GH-48667: [Python] Remove unused imports from
`python/pyarrow/__init__.py` (#48640)
2ed86652e4 is described below
commit 2ed86652e4a96bd28171b6f69fcbd01d31d8f5c3
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Jan 7 01:35:12 2026 -0800
GH-48667: [Python] Remove unused imports from `python/pyarrow/__init__.py`
(#48640)
### What changes are included in this PR?
Remove unused imports from `python/pyarrow/__init__.py`
### Are these changes tested?
Existing tests
### Are there any user-facing changes?
No
* GitHub Issue: #48667
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: AlenkaF <[email protected]>
---
python/pyarrow/__init__.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/python/pyarrow/__init__.py b/python/pyarrow/__init__.py
index da2fe96647..18a40d877c 100644
--- a/python/pyarrow/__init__.py
+++ b/python/pyarrow/__init__.py
@@ -29,12 +29,10 @@ streaming messaging and interprocess communication.
For more information see the official page at https://arrow.apache.org
"""
-import gc as _gc
import importlib as _importlib
import os as _os
import platform as _platform
import sys as _sys
-import warnings as _warnings
try:
from ._generated_version import version as __version__
@@ -58,7 +56,6 @@ except ImportError:
except ImportError:
__version__ = None
-import pyarrow.lib as _lib
from pyarrow.lib import (BuildInfo, CppBuildInfo, RuntimeInfo,
set_timezone_db_path,
MonthDayNano, VersionInfo, build_info, cpp_build_info,
cpp_version, cpp_version_info, runtime_info,