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

sdist build fails when artifacts from different versions are present

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 2.18.0
    • sdk-py-core
    • None

    Description

      I was developing on some Beam branch, then I switched git branches to a different branch. These two branches had different python_sdk_version properties set [1], say version A and version B. When I run Gradle task :sdks:python:sdist, it will fail with error:

      Expected directory ... to contain exactly one file, however, it contains more than one file.

      This happens because the tarball labeled version A is still present, along with the new tarball for version B. I can get around this by cleaning the build directory, but this is an extra step and is not immediately obvious. It would be better if it just worked.

      [1] https://github.com/ibzib/beam/blob/default-region/gradle.properties#L27

      Attachments

        Issue Links

          Activity

            People

              ibzib Kyle Weaver
              ibzib Kyle Weaver
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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