-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python][CI] gdb tests failing in test-conda-python-3.10 #35021
Comments
kou
changed the title
[C++][CI] gdb tests failing in test-conda-python-3.10
[Python][CI] gdb tests failing in test-conda-python-3.10
Apr 11, 2023
kou
added a commit
to kou/arrow
that referenced
this issue
Apr 11, 2023
If we use system gdb, we can't import build-in libraries such as math: (gdb) source /arrow/cpp/gdb_arrow.py Traceback (most recent call last): File "/arrow/cpp/gdb_arrow.py", line 20, in <module> import datetime File "/usr/lib/python3.10/datetime.py", line 12, in <module> import math as _math ModuleNotFoundError: No module named 'math' Because system gdb is built with system Python not conda's Python.
kou
added a commit
that referenced
this issue
Apr 11, 2023
### Rationale for this change If we use system gdb, we can't import build-in libraries such as math: (gdb) source /arrow/cpp/gdb_arrow.py Traceback (most recent call last): File "/arrow/cpp/gdb_arrow.py", line 20, in <module> import datetime File "/usr/lib/python3.10/datetime.py", line 12, in <module> import math as _math ModuleNotFoundError: No module named 'math' Because system gdb is built with system Python not conda's Python. ### What changes are included in this PR? Use conda's gdb instead of system gdb. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: #35021 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
liujiacheng777
pushed a commit
to LoongArch-Python/arrow
that referenced
this issue
May 11, 2023
…ache#35024) ### Rationale for this change If we use system gdb, we can't import build-in libraries such as math: (gdb) source /arrow/cpp/gdb_arrow.py Traceback (most recent call last): File "/arrow/cpp/gdb_arrow.py", line 20, in <module> import datetime File "/usr/lib/python3.10/datetime.py", line 12, in <module> import math as _math ModuleNotFoundError: No module named 'math' Because system gdb is built with system Python not conda's Python. ### What changes are included in this PR? Use conda's gdb instead of system gdb. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#35021 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
ArgusLi
pushed a commit
to Bit-Quill/arrow
that referenced
this issue
May 15, 2023
…ache#35024) ### Rationale for this change If we use system gdb, we can't import build-in libraries such as math: (gdb) source /arrow/cpp/gdb_arrow.py Traceback (most recent call last): File "/arrow/cpp/gdb_arrow.py", line 20, in <module> import datetime File "/usr/lib/python3.10/datetime.py", line 12, in <module> import math as _math ModuleNotFoundError: No module named 'math' Because system gdb is built with system Python not conda's Python. ### What changes are included in this PR? Use conda's gdb instead of system gdb. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#35021 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
rtpsw
pushed a commit
to rtpsw/arrow
that referenced
this issue
May 16, 2023
…ache#35024) ### Rationale for this change If we use system gdb, we can't import build-in libraries such as math: (gdb) source /arrow/cpp/gdb_arrow.py Traceback (most recent call last): File "/arrow/cpp/gdb_arrow.py", line 20, in <module> import datetime File "/usr/lib/python3.10/datetime.py", line 12, in <module> import math as _math ModuleNotFoundError: No module named 'math' Because system gdb is built with system Python not conda's Python. ### What changes are included in this PR? Use conda's gdb instead of system gdb. ### Are these changes tested? Yes. ### Are there any user-facing changes? No. * Closes: apache#35021 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug, including details regarding any error messages, version, and platform.
https://github.com/ursacomputing/crossbow/actions/runs/4653277236/jobs/8234012192
Possibly related to https://github.com/apache/arrow/pull/34020/files#diff-89ec0f60ce64dbc83670ee53b2182c2817d2a282c7175f2e245414981ba68330R19
Component(s)
C++, Continuous Integration
The text was updated successfully, but these errors were encountered: