Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-8238

Improve python gen_protos script

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • build-system, sdk-py-core
    • None

    Description

      Issues that need to be solved:

      • doesn't print output to shell when run during `python setup.py`
      • runs futurize twice when grcpio-tools is not present and needs to be installed
      • does not account for the case where there are more output files than .proto files (just keeps triggering out-of-date rebuilds due to timestamp of orphaned output file)
      • plus it would be nice for debugging if the script printed why it is regenerating pb2 files, because there are a number of possible reasons

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chadrik Chad Dombrova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h