A fix to your problem is discussed in this thread <https://github.com/markflyhigh/beam/pull/5#discussion_r265811259> and is included in my roll-forward PR: https://github.com/apache/beam/pull/8067.
On Thu, Mar 14, 2019 at 11:27 AM Ahmet Altay <al...@google.com> wrote: > PR #8059 reverted a change from yesterday that was causing the sdist > issue. Could you try again and see if your problem is resolved? > > On Thu, Mar 14, 2019 at 11:23 AM Alex Amato <ajam...@google.com> wrote: > >> https://issues.apache.org/jira/browse/BEAM-6835 >> Repro: >> ./gradlew lint :beam-sdks-python:docs >> >> I tested this on a branch I just rebased from master, and the same issue >> is occurring. I also recreated the virtual env. >> https://gradle.com/s/lnlmhu2cggreg >> >> I deleted the build directories, but it still generates multiple files >> and fails. >> >> >> ----------------------------------------------------------------------------------------------------------- >> > Task :beam-sdks-python-test-suites-tox-py35:sdist FAILED >> >> FAILURE: Build completed with 2 failures. >> >> 1: Task failed with an exception. >> ----------- >> * What went wrong: >> Execution failed for task ':beam-sdks-python:sdist'. >> > Expected directory '/usr/local/google/home/ajamato/go/src/ >> github.com/apache/beam/sdks/python/build' to contain exactly one file, >> however, it contains more than one file. >> >> * Try: >> Run with --stacktrace option to get the stack trace. Run with --info or >> --debug option to get more log output. Run with --scan to get full insights. >> >> ============================================================================== >> >> 2: Task failed with an exception. >> ----------- >> * What went wrong: >> Execution failed for task ':beam-sdks-python-test-suites-tox-py35:sdist'. >> > Expected directory '/usr/local/google/home/ajamato/go/src/ >> github.com/apache/beam/sdks/python/test-suites/tox/py35/build' to >> contain exactly one file, however, it contains more than one file. >> >> * Try: >> Run with --stacktrace option to get the stack trace. Run with --info or >> --debug option to get more log output. Run with --scan to get full insights. >> >> ============================================================================== >> >> * Get more help at https://help.gradle.org >> >> Deprecated Gradle features were used in this build, making it >> incompatible with Gradle 6.0. >> Use '--warning-mode all' to show the individual deprecation warnings. >> See >> https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings >> >> BUILD FAILED in 17s >> 4 actionable tasks: 4 executed >> >> Publishing build scan... >> https://gradle.com/s/lnlmhu2cggreg >> >>