When the poetry2conda command fails, the target environment.yaml file is still created with empty contents. This is an undesirable behavior due to the usage of argparse.FileType. Ideally, the file should be written only when the conversion has succeeded.
When the
poetry2conda
command fails, the target environment.yaml file is still created with empty contents. This is an undesirable behavior due to the usage ofargparse.FileType
. Ideally, the file should be written only when the conversion has succeeded.