You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kyle Weaver (Jira)" <ji...@apache.org> on 2019/10/29 23:32:00 UTC

[jira] [Created] (BEAM-8516) sdist build fails when artifacts from different versions are present

Kyle Weaver created BEAM-8516:
---------------------------------

             Summary: sdist build fails when artifacts from different versions are present
                 Key: BEAM-8516
                 URL: https://issues.apache.org/jira/browse/BEAM-8516
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: Kyle Weaver
            Assignee: Kyle Weaver


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]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)