Conversation
88c4fe2 to
207d2e1
Compare
|
@steppi it looks like we are hitting build errors with MSVC. |
|
The problem is with the xsf/.github/workflows/tests.yml Line 20 in 55ac1f0 It nees to be a valid windows path but it's hardcoded with |
Okay, that looks fixed, but there are still lots of errors |
|
On a Windows VM. I can't even get to the build step locally. MSVC isn't being found. It looks like the Github actions Windows runners ship with a lot of stuff that isn't on a fresh Windows install https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md, Do you have a Windows machine to test things out on @lucascolley? Could it be something to do with me having Visual Studio 2022 installed, but this is expecting 2019? |
|
I see the exact same: I guess we need to add a dependency for windows. I'll do some digging |
|
In the meantime, explicitly making the configure command worked for me. I can debug the errors we're seeing in CI at least. This is all running inside of a Developer PowerShell for VS 2022. |
|
This still fails locally for me, but the The reason it still fails is because MSVC requires all linked libraries to be built with the same mode, but the tests here are built in debug mode, but the conda feedstock for catch2 builds in release mode. See https://github.com/conda-forge/catch2-feedstock/blob/a01d2f0df80cc2334b06839f98526f41e4377fb8/recipe/build.sh#L17. Some possibilities:
Example error message:
relevant stackoverflow post: |
hmm, that shouldn't be the case... https://pixi.sh/latest/workspace/advanced_tasks/#environment-variables
|
Sorry. I accidentally edited your comment instead of quote replying it. Fixed. I deleted this line from after discovering with some static asserts that this is what was getting used for |
|
okay, thanks, sounds like a bug. I'll try to craft a reproducer, because that should have worked |
That sounds like the best long-term solution |
|
No luck reproducing locally. If I had to guess, perhaps variables in |
I just realized that we might want to test in |
|
OK, after building in @lucascolley, I know you wanted a one liner, but I think it would be helpful if there were separate |
|
Ha. There were some instances where I used |
done 👍 |
|
The windows failures are all legitimate failures now. They involve returning complex number with NaNs instead of some particular direction of infinity. If we had MSVC specific tolerance files for these, the accepted tolerance would be It's not as straightforward as it was for Mac and Linux currently to generate an MSVC specific tolerance file because we use SciPy to generate the initial tolerance files, and I am unable to build a usable SciPy with MSVC. The reason we used SciPy and not Sometime in the next few weeks, I plan to write workflows in the I'm fine with merging this as is and iterating from here. We're just getting started, so I think it's fine if we have some known failures in the test suite. I'd consider both the complex infinity handling and additional work needed for platform specific tolerance file generation asout of scope for this PR. I'll follow up in the next few weeks, but in the meantime I have other priorities. |
|
Thanks Albert, nice work!
I have also been trying (and failing) to do this, progress update at rgommers/pixi-dev-scipystack#23 (comment) |


No description provided.