superset: PyArrow broke the build on ARM platform [Regression]

pip install apache-superset==0.35.1 on Raspbian (Raspberry pi 4, ARM) ends with

ERROR: Could not find a version that satisfies the requirement pyarrow<0.15.0,>=0.14.1 (from apache-superset) (from versions: 0.9.0, 0.10.0, 0.11.0, 0.11.1, 0.12.0, 0.12.1, 0.13.0, 0.14.0, 0.15.1)
ERROR: No matching distribution found for pyarrow<0.15.0,>=0.14.1 (from apache-superset)

Version `0.34.1` installed correctly.

Expected results

Apache superset installs correctly.

Actual results

The installation ends with an error.

Screenshots

If applicable, add screenshots to help explain your problem.

How to reproduce the bug

  1. Use system with ARM architecture.
  2. Run pip install apache-superset==0.35.1

Environment

(please complete the following information):

  • superset version: 0.35.1
  • python version: 3.7.3
  • OS: Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I havenโ€™t found one similar.

Additional context

I tried to installed the latest version of pyarrow (as I saw the recent not released bump to 0.15.1).

This fails with: ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 6
  • Comments: 17 (4 by maintainers)

Most upvoted comments

I have the exact same issue on Windows 10 64-bit, Python 3.8 with Arrow 0.16.0 - Requirement already satisfied: pyarrow==0.16.0 in c:\python38\lib\site-packages (0.16.0). When installing apache-superset==0.35.2, it fails with the error - ModuleNotFoundError: No module named 'numpy' even though Numpy is installed fine and there are no environment conflicts - Requirement already satisfied: numpy in c:\python38\lib\site-packages (1.18.1).

Update: I suspect this is tied to the following issue (https://github.com/apache/arrow/issues/5987) and since apache-superset expects pyarrow==0.15.1 which I am unable to downgrade to (from 0.16.0 because of the same issue reported above i.e. Numpy import failure) this issue manifests in the build of apache superset.

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.94. Please mark this comment with ๐Ÿ‘ or ๐Ÿ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.