upkie / vulp

Robot/simulation switch for the mjbots stack
Apache License 2.0
61 stars 4 forks source link

Installation from rules_python yields fallback msgpack #77

Closed stephane-caron closed 5 months ago

stephane-caron commented 5 months ago

Reported by @ubgk in https://github.com/stephane-caron/pink_balancer/pull/1:

$ ./tools/bazel run //pink_balancer -- -c bullet
WARNING: Running Bazel server needs to be killed, because the startup options are different.
Starting local Bazel server and connecting to it...
INFO: Analyzed target //pink_balancer:pink_balancer (56 packages loaded, 1507 targets configured).
INFO: Found 1 target...
Target //pink_balancer:pink_balancer up-to-date:
  bazel-bin/pink_balancer/pink_balancer
INFO: Elapsed time: 14.460s, Critical Path: 0.14s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Running command line: bazel-bin/pink_balancer/pink_balancer -c bullet
[2024-01-18 15:11:25,195] [info] Loading configuration 'common.gin' (main.py:75)
[2024-01-18 15:11:25,199] [info] Loading configuration 'bullet.gin' (main.py:75)
Traceback (most recent call last):
  File "/private/var/tmp/_bazel_bora/9fe7a4df9875153d3410245d618871e5/execroot/pink_balancer/bazel-out/darwin-opt/bin/pink_balancer/pink_balancer.runfiles/pink_balancer/pink_balancer/main.py", line 99, in <module>
    spine = SpineInterface()
  File "/private/var/tmp/_bazel_bora/9fe7a4df9875153d3410245d618871e5/execroot/pink_balancer/bazel-out/darwin-opt/bin/pink_balancer/pink_balancer.runfiles/vulp/vulp/spine/spine_interface.py", line 90, in __init__
    self.__perf_checks()
  File "/private/var/tmp/_bazel_bora/9fe7a4df9875153d3410245d618871e5/execroot/pink_balancer/bazel-out/darwin-opt/bin/pink_balancer/pink_balancer.runfiles/vulp/vulp/spine/spine_interface.py", line 97, in __perf_checks
    raise PerformanceIssue("msgpack is running in pure Python")
vulp.spine.exceptions.PerformanceIssue: msgpack is running in pure Python