CI regressions on Windows
See original GitHub issueWe are currently using Conda for Python installation management on Windows, mainly so we can use the msys2 packages to pull in a gcc
and make
to build and run cocotb. We have had issues with Windows CI in the past (#1909) with sqlite.dll not being on the path, and again recently with cocotb not being importable.
Both have the same root cause: tox using virtualenvs is not compatible with the weirdness of conda installations on Windows. Compare a tox environment with a top-level miniconda environment and you’ll see significant differences. All, the tests tend to pass when not using tox.
There are 2 alternatives here:
- Don’t use tox on Windows. This is fine, we are booting a new VM, installing miniconda afresh. Tox is actually not offering us much in terms of isolation this instance.
- Use
tox-conda
and move conda requirements into tox.ini. I’m not sure how this will affect regressions in non-conda environments like Linux and MacOS.
I’m in favor of 1.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Tutorial: Automate regression tests with CI/CD - Azure Load ...
This tutorial describes how to quickly identify performance regressions by using Azure Load Testing Preview and CI/CD tools.
Read more >Nightly Platform CI regression on Windows #1029 - GitHub
Potential regression affecting some "Nightly Platform CI" Windows jobs (the nightly_win_rep and nightly_win_rel jobs).
Read more >Using Prediction Intervals to Define Process Windows
You can achieve this using a very simple tool: the prediction intervals of a regression model. A Historical Perspective on Interchangeable Parts.
Read more >Regression: pwsh shell on windows - unicode characters are ...
Regression : pwsh shell on windows - unicode characters are corrupted ... Utils.psm1 .gitlab-ci.yml. Edited by Jens Hofmann 2 months ago.
Read more >Find a confidence interval and a prediction ... - STAT ONLINE
Select OK. The output will appear in the session window. Next, back up to the Main Menu having just run this regression: Select...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t know why I didn’t realize this before, but it’s a miracle this worked in the first place. We install packages into the global conda installation and then let tox create an isolated environment that is expected to use the globally installed msys packages? That’s just totally wrong…
tox-conda
is actually the correct way (and only way?), but as we have seen, isn’t a good solution. So I think not usingtox
on Windows is the best play.Hopefully one day we can move away for needing msys2 to install and run cocotb on Windows.
Refs: tox-dev/tox#1648 msys2/MINGW-packages#7014