mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Don't fail ASV if Plasma extension is not built (e.g. on Windows)
This commit is contained in:
1 parent
fba4f32001
commit
008ae7b98a
1 file changed
+8
-2
@@ -24,8 +24,14 @@ import sys
|
||||
import tempfile
|
||||
import time
|
||||
|
||||
from pyarrow._plasma import (ObjectID, ObjectNotAvailable, # noqa
|
||||
PlasmaBuffer, PlasmaClient, connect)
|
||||
|
||||
try:
|
||||
from pyarrow._plasma import (ObjectID, ObjectNotAvailable, # noqa
|
||||
PlasmaBuffer, PlasmaClient, connect)
|
||||
except ImportError:
|
||||
# TODO(wesm): These are not asv benchmarks, so we can just fail
|
||||
# silently here
|
||||
pass
|
||||
|
||||
|
||||
# The Plasma TensorFlow Operator needs to be compiled on the end user's
|
||||
|
||||
Reference in new issue
Block a user