rules_python icon indicating copy to clipboard operation
rules_python copied to clipboard

Rules python does not install correctly torch_tensorrt

Open gdippolito opened this issue 2 years ago • 0 comments

🐞 bug report

Affected Rule

I suspect it is caused by requirements.bzl

Is this a regression?

No, it is also present in 0.8.0

Description

Rules python won't correctly install torch_tensorrt in the runfiles.

🔬 Minimal Reproduction

Simple repo: https://github.com/gdippolito/reproduce-rules-python-bug/tree/main

🔥 Exception or Error


ModuleNotFoundError: No module named 'torch_tensorrt'

🌍 Your Environment

Operating System:

  
Ubuntu 18.04
  

Output of bazel version:

  
Bazelisk version: v1.10.1
Build label: 5.2.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jun 7 16:02:26 2022 (1654617746)
Build timestamp: 1654617746
Build timestamp as int: 1654617746
  

Rules_python version:

  
 `c9b70d1d14a18e19607c7610127ffacb43855dba` # Latest available commit
  

Anything else relevant?

gdippolito avatar Aug 12 '22 16:08 gdippolito