dev-python/flatbuffers: restrict test dep to <dev-python/numpy-2

Tests require newbyteorder method, which was removed from the ndarray
class in NumPy 2.0. The issue was reported upstream, see [1].

[1] https://github.com/google/flatbuffers/issues/8332

Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
Petr Vaněk 2024-06-15 13:44:22 +02:00
parent 87173eebba
commit 74c19256f3
No known key found for this signature in database
GPG Key ID: 351D91B6D7DF9E50

View File

@ -27,7 +27,7 @@ RESTRICT="!test? ( test )"
BDEPEND="
test? (
dev-python/numpy[${PYTHON_USEDEP}]
<dev-python/numpy-2[${PYTHON_USEDEP}]
)
"