As @psyhtest suggested, it may be useful to provide a flag when installing packages, compiling programs and resolving dependencies to pick up stable versions of packages. This can be done by detecting flags --stable --dev
and then providing extra keys in JSON with dependencies that specify stable/dev package, i.e.
something like:
"compile_deps": {
"lib-tensorflow": {
"name": "TensorFlow library",
"sort": 10,
"tags": "lib,tensorflow",
"extra_tags":{"stable":"v1.0","dev":""}
}
},
We can discuss it later ...