Closed JoOkuma closed 1 month ago
Hi Jordão, thank you for the PR. There is a problem with catch2, they switched from a single file header only model in v2 to a multi-header statically compiled library in v3. So moving to v3 requires a lot of changes, if you are ready to make them you are of course welcome, but it is also possible to stick to v2 for now :)
No problem for increasing version number, once this is merged
Thanks for the heads up @PerretB , rolled back catch2
Just a heads up, I updated the CI of the three latest versions of Python
It seems that setuptools is being removed from default packages in 3.12 distributions. I think adding it there https://github.com/higra/Higra/blob/53e03e1751d0b9269a4626bba4fe368a186ed87a/.appveyor.yml#L44 (could be added to the other entries of the build matrix too) should fix the problem on Windows build (not sure why increasing Numpy version solved the issue on linux/macos builds, setuptools should probably also be explicitly added there)
Hey @PerretB, thanks for the feedback.
I'm not familiar with this CI, I added the setuptools
install where I thought it was more appropriate, feel free to edit if you disagree with it.
ok indeed it's linked to this issue in xtensor https://github.com/xtensor-stack/xtensor/issues/2736 , already reported as compiler bug in MSVC https://developercommunity.visualstudio.com/t/lambda-fails-to-implicitly-capture-constexpr-value/610504
I'm running out of ideas, I don't understand how xtensor tests are passing on MVSV :/
@JoOkuma I will try to replicate the problem locally and see if I can find a fix
@JoOkuma ok it's fixed. Do you mind creating a new clean PR with only required changes in small commits? Otherwise I'll do it during the week
replaced by #278
Hi @PerretB , I updated the libraries, this should close #276
It's passing on my environment with
numpy==2.0.0
.If this gets merged, could we bump a version?
Note that I also removed an unused line in
include/higra/image/graph_image.hpp
to silence a warning.