Skip to content

Globegitter/py_repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py_repro

Execute:

bazel run //app # works as expected
bazel run @pip3//luigi:bin-luigi # can not import module luigi for some reason

To inspect the generated BUILD file run cat (bazel info output_base)/external/pip3/luigi/BUILD

To simplify the case one can also paste the following code into the external repository and still get the same issue:

echo "__requires__ = 'luigi==2.8.5'
import re
import sys

from luigi import cmdline

if __name__ == '__main__':
    cmdline.luigi_run()
" > $(bazel info output_base)/external/pip3/luigi/bin/luigi.py
bazel run @pip3//luigi:bin-luigi # same error/issue as before

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages