lysnikolaou commented on PR #43671:
URL: https://github.com/apache/arrow/pull/43671#issuecomment-2286303544
Hmm, we got much further this time. Build was successful, but tests failed
on import with this error:
```
+ pytest -r s --pyargs pyarrow
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError
============================= test session starts
==============================
platform linux -- Python 3.13.0rc1, pytest-8.3.2, pluggy-1.5.0
rootdir: /
plugins: hypothesis-6.111.0
collected 0 items / 1 error
==================================== ERRORS
====================================
_______ ERROR collecting arrow-dev/lib/python3.13t/site-packages/pyarrow
_______
usr/lib/python3.13/importlib/__init__.py:88: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
<frozen importlib._bootstrap_external>:1022: in exec_module
???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
???
arrow-dev/lib/python3.13t/site-packages/pyarrow/__init__.py:65: in <module>
import pyarrow.lib as _lib
E ImportError: Module was compiled with a non-freethreading build of
Python but imported into a freethreading build.
```
That's odd, since the wheel seems to have been compiled with the
free-threaded build (notice the "t" in "cp313**t**"):
```
Created wheel for pyarrow:
filename=pyarrow-18.0.0.dev139-cp313-cp313t-linux_x86_64.whl size=28707111
sha256=13191763e70d010111830b51e95c8a71d582531bb471faa365d00d3daaef330f
Stored in directory:
/tmp/pip-ephem-wheel-cache-h1qj9ap8/wheels/4d/35/fe/ddc412558b8012a6576905791192edd07e7e3d9c86e74f006c
Successfully built pyarrow
Installing collected packages: pyarrow
Successfully installed pyarrow-18.0.0.dev139
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]