I think it would be great if it can be configured that all (or, as many as possible) build-generated files use one specific directory -- "target/". Likely, all problems would just go away.
On Wed, Apr 12, 2017 at 3:24 PM, Ahmet Altay <[email protected]> wrote: > This is also root cause for the flakiness in test_using_slow_impl very > flaky locally tests (https://issues.apache.org/jira/browse/BEAM-1910). > > Kenn, have you found anything that might explain why tox is not deleting > them? > > Ahmet > > On Tue, Apr 11, 2017 at 11:50 AM, Robert Bradshaw < > [email protected]> wrote: > > > We should also ignore them: https://github.com/apache/beam/pull/2494 > > > > On Thu, Apr 6, 2017 at 6:45 PM, Kenneth Knowles <[email protected]> > > wrote: > > > Thanks for the pointer. I'll dig in to tox docs to see why this isn't > > > happening. Probably something to do with unclean shutdowns. > > > > > > On Thu, Apr 6, 2017 at 6:10 PM, Vikas RK <[email protected]> wrote: > > > > > >> Those are cython generated files that should be deleted according to > > >> https://github.com/apache/beam/blob/master/sdks/python/tox.ini#L54 > > >> > > >> > > >> > > >> On 6 April 2017 at 17:58, Kenneth Knowles <[email protected]> > > wrote: > > >> > > >> > Hi all, > > >> > > > >> > It appears that the Python build process creates quite a few files > > that > > >> are > > >> > not accounted for in our .gitignore and that also trip the RAT check > > next > > >> > time around. These should be set up so that RAT and git both ignore > > the > > >> > files. > > >> > > > >> > It is possible that others have defaults that differ from mine, but > > >> > droppings from a recent `mvn verify` include: > > >> > > > >> > sdks/python/apache_beam/coders/coder_impl.c > > >> > sdks/python/apache_beam/coders/coder_impl.so > > >> > sdks/python/apache_beam/coders/stream.c > > >> > sdks/python/apache_beam/coders/stream.so > > >> > sdks/python/apache_beam/metrics/execution.c > > >> > sdks/python/apache_beam/metrics/execution.so > > >> > sdks/python/apache_beam/runners/common.c > > >> > sdks/python/apache_beam/runners/common.so > > >> > sdks/python/apache_beam/transforms/cy_combiners.c > > >> > sdks/python/apache_beam/transforms/cy_combiners.so > > >> > sdks/python/apache_beam/utils/counters.c > > >> > sdks/python/apache_beam/utils/counters.so > > >> > sdks/python/apache_beam/utils/windowed_value.c > > >> > sdks/python/apache_beam/utils/windowed_value.so > > >> > sdks/python/nose-1.3.7-py2.7.egg/ > > >> > > > >> > Can someone who knows the Python SDK build process rectify? > > >> > > > >> > Kenn > > >> > > > >> > > >
