python313Packages.mxnet: refactor (#433447)
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user