Substra/substrafl

BUG: circular recursive copy of files when using Dependency object with local_code from within local_code

Closed this issue · 2 comments

What are you trying to do?

I run a script inside my package that I want to list as a dependency, while copying my package it creates a temp directory holding the copy, and then it tries to copy that folder as well, which already contains the package and so forth until disk space runs out.

Issue Description (what is happening?)

Pretty much self explanatory

Expected Behavior (what should happen?)

It should copy only relevant files

Reproducible Example

No response

Operating system

MacOS

Python version

3.9.16

Installed Substra versions

0.35.Orc1

Installed versions of dependencies

No response

Logs / Stacktrace

No response

@ThibaultFy wasn't it solved by one of the latest releases ?

Indeed, well spotted 👍
Fixed by #118 and released in 0.37.0