Unverified Commit 1e7446b9 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.mmengine: use setuptools._distutils instead of deprecated distutils (#423183)

parents e0ba322b 9b92f5b6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -67,6 +67,11 @@ buildPythonPackage rec {
    + ''
      substituteInPlace tests/test_config/test_lazy.py \
        --replace-fail "import numpy.compat" ""

      substituteInPlace mmengine/utils/dl_utils/collect_env.py \
        --replace-fail \
          "from distutils" \
          "from setuptools._distutils"
    '';

  build-system = [ setuptools ];