python313Packages.flaxlib: fix build

This commit is contained in:
wxt
2025-01-19 18:33:51 +08:00
parent 40bbd31b63
commit fb4974c5ed
@@ -49,6 +49,13 @@ buildPythonPackage rec {
pytestCheckHook
];
env = {
# https://github.com/google/flax/issues/4491
# Upstream should update Cargo.lock
# Enabling `PYO3_USE_ABI3_FORWARD_COMPATIBILITY` allows us to temporarily avoid the issue
PYO3_USE_ABI3_FORWARD_COMPATIBILITY = true;
};
# This package does not have tests (yet ?)
doCheck = false;