Commit 407d5aff authored by Fabian Affolter's avatar Fabian Affolter
Browse files

memray: 1.18.0 -> 1.19.0

parent b55e82c3
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -10,24 +10,16 @@

python3Packages.buildPythonApplication rec {
  pname = "memray";
  version = "1.18.0";
  version = "1.19.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "bloomberg";
    repo = "memray";
    tag = "v${version}";
    hash = "sha256-bShFMuDJlvBA3rQJRwXlsgRk4q+gdFQjOpDzOrp4/8k=";
    hash = "sha256-yOiN4KES+zCHp/n0pN73Yv6ibEtUGy1pqiH/3WECqkA=";
  };

  # AttributeError: 'Label' object has no attribute 'renderable'.
  # In textual==0.6.0, the `renderable` property was renamed to `content`
  # https://github.com/Textualize/textual/pull/6041
  postPatch = ''
    substituteInPlace tests/unit/test_tui_reporter.py \
      --replace-fail ".renderable" ".content"
  '';

  build-system = with python3Packages; [
    distutils
    setuptools