python313Packages.mxnet: refactor (#433447)

This commit is contained in:
Fabian Affolter
2025-08-14 00:21:45 +02:00
committed by GitHub
@@ -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 \