Hi,

On 2025-02-06 23:39, Lucas Nussbaum wrote:
Digging a bit further,

Thanks for investigating this issue.

1/ I confirmed that it has nothing to do with ruby (pybuild-autopkgtest
fails the same way with no ruby packages installed)

Good.

2/ It seems that the bottom line is: spglib built against numpy 2 (in
unstable) breaks when run against numpy 1 (in testing).

To reproduce:
- build spglib in unstable. (it builds and tests fine)
- install it
- downgrade python3-numpy to the version in testing (1:1.26.4+ds-13)
- run the test (it fails): python3.12 -m pytest test 
test/functional/python/test_reciprocal_mesh.py

I don't understand numpy enough to dig further.

Since numpy1 and numpy2 are incompatible, this makes a lot of sense. I assume these cross-tests will start passing once numpy2 gets into testing, as part of numpy2 transition.

Best,
Andrius

Reply via email to