diff --git a/overrides/build-systems.json b/overrides/build-systems.json index 687567a..266112a 100644 --- a/overrides/build-systems.json +++ b/overrides/build-systems.json @@ -25864,7 +25864,10 @@ ], "uri-template": [ "setuptools", - "setuptools-scm" + { + "buildSystem": "setuptools-scm", + "from": "1.3.0" + } ], "uritemplate": [ "setuptools" diff --git a/overrides/default.nix b/overrides/default.nix index 7e03abe..9c2124c 100644 --- a/overrides/default.nix +++ b/overrides/default.nix @@ -1993,7 +1993,12 @@ lib.composeManyExtensions [ # For OSX, we need to add a dependency on libcxx, which provides # `complex.h` and other libraries that pandas depends on to build. - postPatch = lib.optionalString (!(old.src.isWheel or false) && stdenv.isDarwin) '' + postPatch = '' + if [ -f pyproject.toml ]; then + substituteInPlace pyproject.toml \ + --replace 'meson-python==0.13.1' 'meson-python' + fi + '' + lib.optionalString (!(old.src.isWheel or false) && stdenv.isDarwin) '' if [ -f setup.py ]; then cpp_sdk="${lib.getDev pkgs.libcxx}/include/c++/v1"; echo "Adding $cpp_sdk to the setup.py common_include variable"