Le 07/05/2017 à 12:55, Amirouche a écrit :


Le 07/05/2017 à 05:08, Mike Gran a écrit :
On Saturday, May 6, 2017 2:00 PM, Tim Chadburn <[email protected]> wrote:


Is it possible to have multiple different versions of the same module installed >at the same time? Having read the documentation and inspected existing >installed modules, the answer would appear to be "no", but I thought I'd better >make sure.

The simple answer is no.

But, you can install the different versions
in different paths and then change environment variables like
GUILE_LOAD_PATH to make sure you are picking the one that you want.

Of course, you can make it work if you really want to by
more drastic means that probably require that you load
the files at run-time or that you modify the modules to have
different 'define-module' declarations

Also it's possible to do in guix

I have no example at hand. You can set up environments using guix which will automatically setup the environment variables for you where you have a given version of dependency while your regular GUILE_LOAD_PATH has another version of the same lib or not at all.

That is what guix-tox afaiu for python deps.


Reply via email to