Closed veenstrajelmer closed 8 months ago
Easiest way of doing it now, I guess (?):
Start with pixi add python=3.9
, run tests, then pixi add python=3.10
, run tests, and finally 3.11.
This ends up recreating the environments every single time (which is still pretty fast probably).
Will be picked up in https://github.com/Deltares/xugrid/pull/185
We're using pixi now to setup and environment and run the tests, which makes life a lot easier (also faster).
Ideally we could sort this out with pixi. There's two related issues:
A somewhat clumsy workaround is to define more than one pixi.toml (in different dirs if need be), with different python versions, but identical tasks. Then during testing, activate them one by one and run consecutively.
However, I wouldn't be surprised if pixi has this sorted out in a few months with a proper solution.