Unverified Commit 9ac9bb01 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python3Packages.textual: 5.3.0 -> 6.0.0 (#439136)

parents ec14b485 2c81d984
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -20,6 +20,14 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-bShFMuDJlvBA3rQJRwXlsgRk4q+gdFQjOpDzOrp4/8k=";
  };

  # 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
+8 −0
Original line number Diff line number Diff line
@@ -16,6 +16,14 @@ python3Packages.buildPythonApplication rec {
    hash = "sha256-tag2/QTM6tDCU3qr4e1GqRYAZgpvEgtA+FtR4P7WdiU=";
  };

  # AttributeError: 'Static' 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/test_ui.py \
      --replace-fail ".renderable" ".content"
  '';

  build-system = with python3Packages; [
    poetry-core
  ];
+2 −2
Original line number Diff line number Diff line
@@ -29,14 +29,14 @@

buildPythonPackage rec {
  pname = "textual";
  version = "5.3.0";
  version = "6.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Textualize";
    repo = "textual";
    tag = "v${version}";
    hash = "sha256-J7Sb4nv9wOl1JnR6Ky4XS9HZHABKtNKPB3uYfC/UGO4=";
    hash = "sha256-VpZeK0/SATL+XFDkPQgWwUIsJ4Kgqg0PQ4VzNYp4nPU=";
  };

  build-system = [ poetry-core ];