ogre-run / miniogre

Automate the management of software dependencies with AI, to ensure your Python code runs on any computer.
https://docs.ogre.run
Apache License 2.0
43 stars 6 forks source link

Stop generation of `requirements.txt` when using option `--dry` #15

Closed wilderlopes closed 4 months ago

wilderlopes commented 5 months ago

The problem

The command miniogre run --dry allows the user to spin up a generic container without installing the dependencies. However, the dependencies are still generated. This is a waste of time and compute.

Proposal

Make sure requirements are not created when option --dry is used. Test the boolean value of --dry to turn on/off requirements generation.

wilderlopes commented 4 months ago

Implemented on https://github.com/ogre-run/miniogre/commit/9928e39b66ababaed7a7c0f07b3944cc8a23926f