pitrou opened a new issue, #44991:
URL: https://github.com/apache/arrow/issues/44991

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Recently the AppVeyor CI jobs have started failing with [this 
error](https://ci.appveyor.com/project/pitrou/arrow/builds/51141767?fullLog=true#L7524):
   ```
   (arrow) C:\projects\arrow\python>py.test -r sxX --durations=15 --pyargs 
pyarrow.tests   || exit /B 
   ERROR: module or package not found: pyarrow.tests (missing __init__.py?)
   ============================= test session starts 
=============================
   platform win32 -- Python 3.10.16, pytest-8.3.4, pluggy-1.5.0
   rootdir: C:\projects\arrow\python
   configfile: setup.cfg
   plugins: hypothesis-6.122.3
   collected 0 items
   ============================ no tests ran in 1.43s 
============================
   ```
   
   A bit of debugging shows that its `pyarrow.lib` that [fails 
loading](https://ci.appveyor.com/project/pitrou/arrow/builds/51137348?fullLog=true#L10128),
 even though the corresponding DLL `lib.cp310-win_amd64.pyd` 
[exists](https://ci.appveyor.com/project/pitrou/arrow/builds/51137348?fullLog=true#L10046):
   ```
   ________________________ ERROR collecting test session 
________________________
   C:\Miniconda38-x64\envs\arrow\lib\importlib\__init__.py:126: in import_module
       return _bootstrap._gcd_import(name[level:], package, level)
   <frozen importlib._bootstrap>:1050: in _gcd_import
       ???
   <frozen importlib._bootstrap>:1027: in _find_and_load
       ???
   <frozen importlib._bootstrap>:992: in _find_and_load_unlocked
       ???
   <frozen importlib._bootstrap>:241: in _call_with_frames_removed
       ???
   <frozen importlib._bootstrap>:1050: in _gcd_import
       ???
   <frozen importlib._bootstrap>:1027: in _find_and_load
       ???
   <frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
       ???
   <frozen importlib._bootstrap>:688: in _load_unlocked
       ???
   <frozen importlib._bootstrap_external>:883: in exec_module
       ???
   <frozen importlib._bootstrap>:241: in _call_with_frames_removed
       ???
   C:\Miniconda38-x64\envs\arrow\lib\site-packages\pyarrow\__init__.py:65: in 
<module>
       import pyarrow.lib as _lib
   E   ImportError: DLL load failed while importing lib: The specified module 
could not be found.
   ```
   
   When one compares a [successful build from 4 days 
before](https://ci.appveyor.com/project/ApacheSoftwareFoundation/arrow/builds/51120420?fullLog=true)
 and a [failing 
build](https://ci.appveyor.com/project/pitrou/arrow/builds/51141767?fullLog=true#L7524),
 the only relevant differences seem to be a CMake version bump and a NumPy 
version bump. However, neither [downgrading 
NumPy](https://ci.appveyor.com/project/pitrou/arrow/builds/51142269) nor 
[downgrading 
CMake](https://ci.appveyor.com/project/pitrou/arrow/builds/51142757) fixes the 
problem. No change in the source tree seems like it could have caused the issue.
   
   (I also tried [downgrading 
LZ4](https://ci.appveyor.com/project/pitrou/arrow/builds/51141234?fullLog=true),
 which also failed)
   
   ### Component(s)
   
   Continuous Integration, Python


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to