Unverified Commit d2707373 authored by OTABI Tomoya's avatar OTABI Tomoya Committed by GitHub
Browse files

Merge pull request #249519 from tjni/graphql-relay

python3.pkgs.graphql-relay: patch out setuptools dependency
parents 8bc8db9e 920394fb
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -27,6 +27,16 @@ buildPythonPackage rec {
    hash = "sha256-H/HFEpg1bkgaC+AJzN/ySYMs5T8wVZwTOPIqDg0XJQw=";
  };

  # This project doesn't seem to actually need setuptools. To find out why it
  # specifies it, follow up in:
  #
  #   https://github.com/graphql-python/graphql-relay-py/issues/49
  #
  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace ', "setuptools>=59,<70"' ""
  '';

  nativeBuildInputs = [
    poetry-core
  ];