[NO ISSUE][TEST] Prefer binary wheels for pip
Not all build workers have the source dependencies for
the python test dependencies we use.
Therefore, we should always prefer to use a binary
wheel, wherever possible, to reduce the possiblity
of build failures due to missing source deps
(cherry picked from commit 3752044b8b)
Ext-ref: MB-67160
Change-Id: I2f8c64fa76beecbebcb40cf2a16866189cb1a11a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19964
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-app/pom.xml b/asterixdb/asterix-app/pom.xml
index 1a0dcef..8da002f 100644
--- a/asterixdb/asterix-app/pom.xml
+++ b/asterixdb/asterix-app/pom.xml
@@ -240,6 +240,7 @@
<argument>${project.build.directory}${file.separator}TweetSent.pyz</argument>
<argument>--site-packages</argument>
<argument>${project.build.directory}${file.separator}..${file.separator}src${file.separator}test${file.separator}resources${file.separator}TweetSent</argument>
+ <argument>--prefer-binary</argument>
<argument>scikit-learn</argument>
</arguments>
<environmentVariables>