python313Packages.mxnet: refactor

This commit is contained in:
Fabian Affolter
2025-08-13 20:09:06 +02:00
parent d06e8fa5d9
commit e14190dcd5
@@ -1,14 +1,13 @@
{
lib,
buildPythonPackage,
pkgs,
setuptools,
distutils,
requests,
numpy,
graphviz,
numpy,
pkgs,
python,
isPy3k,
requests,
setuptools,
}:
buildPythonPackage {
@@ -21,9 +20,9 @@ buildPythonPackage {
dependencies = [
distutils
requests
numpy
graphviz
numpy
requests
];
pythonRelaxDeps = [
@@ -33,8 +32,6 @@ buildPythonPackage {
LD_LIBRARY_PATH = lib.makeLibraryPath [ pkgs.mxnet ];
doCheck = !isPy3k;
postPatch = ''
# Required to support numpy >=1.24 where np.bool is removed in favor of just bool
substituteInPlace python/mxnet/numpy/utils.py \