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

Python setup should be portable to Python 3.x

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • Not applicable
    • sdk-py-core
    • None

    Description

      As Justin Johnson reported at BEAM-1251:

      I ran into the following right away with Python 3.6.0, for example, and would like to report issues in an appropriate manner since I imagine I'll run into more.

      $ python setup.py sdist
      Traceback (most recent call last):
        File "setup.py", line 38, in <module>
          PACKAGE_VERSION = get_version()
        File "setup.py", line 33, in get_version
          execfile(os.path.normpath('./apache_beam/version.py'),
      NameError: name 'execfile' is not defined
      

      This issues doesn't aim to make the SDK runtime compatible with Python 3.x, just trying to fix the library setup. That's another story that will be discussed at BEAM-1251.

      Attachments

        Issue Links

          Activity

            People

              wikier Sergio Fernández
              wikier Sergio Fernández
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Slack

                    Issue deployment