legion: Legion_python -m can not find the module

I have a sub-module jupyter under legate module, so the file directory is legate/jupyter/__main__.py. If I run

legate -m legate.jupyter

then legion_python can not find the module. If I run

legate -m jupyter

then it works.

I think the issue comes from here, it tries to find the file named legate.jupyter/__main__.py https://github.com/StanfordLegion/legion/blob/master/bindings/python/legion_top.py#L378-L382

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (26 by maintainers)

Most upvoted comments

I have tests for this in the test suite now. I will close once CI passes.

I can’t think of one. Here is a relevant observation in an issue that proposes deprecating egg uploads on warehouse

As of Dec 2021, eggs have accounted for less than 1% of built distribution uploads.

I haven’t personally run into an egg in 10+ years, but if there was any group that might land in that 1% tail I guess it wouldn’t surprise me to learn it was HPC users somehow.