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

textual: 0.86.1 -> 1.0.0 (#370103)

parents 4f9ad9a5 a5d01f71
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -10,14 +10,14 @@

python3Packages.buildPythonApplication rec {
  pname = "memray";
  version = "1.14.0";
  version = "1.15.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "bloomberg";
    repo = "memray";
    tag = "v${version}";
    hash = "sha256-U9JR60rSxPYXbZaKR7vVNhGT78AXnqcoqvVC6/1OW/E=";
    hash = "sha256-SgkJm+vtIid8RR1Qy98PkpvIQX4LxyAPlS+4UlYlZws=";
  };

  build-system = with python3Packages; [
@@ -48,7 +48,7 @@ python3Packages.buildPythonApplication rec {
      pytest-textual-snapshot
      pytestCheckHook
    ]
    ++ lib.optionals (pythonOlder "3.12") [ greenlet ];
    ++ lib.optionals (pythonOlder "3.14") [ greenlet ];

  pythonImportsCheck = [ "memray" ];

@@ -58,15 +58,6 @@ python3Packages.buildPythonApplication rec {
    # Import issue
    "test_header_allocator"
    "test_hybrid_stack_of_allocations_inside_ceval"

    # snapshot-based tests are too fragile
    # see https://github.com/bloomberg/memray/issues/654
    "TestTUILooks"
    "test_tui_basic"
    "test_tui_pause"
    "test_tui_gradient"
    "test_merge_threads"
    "test_unmerge_threads"
  ];

  disabledTestPaths = [
+2 −2
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

buildPythonPackage rec {
  pname = "textual-fastdatatable";
  version = "0.10.0";
  version = "0.11.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -25,7 +25,7 @@ buildPythonPackage rec {
    owner = "tconbeer";
    repo = "textual-fastdatatable";
    tag = "v${version}";
    hash = "sha256-r1evN69etFn21TkXPLuAh1OxIsurDDyPyYOKQR5uUos=";
    hash = "sha256-Jz0ujO/nAnn15t8/OFOzZTpVBXNYsfVhxmYdGC39PpM=";
  };

  build-system = [ poetry-core ];
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@

buildPythonPackage rec {
  pname = "textual-textarea";
  version = "0.14.4";
  version = "0.15.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
    owner = "tconbeer";
    repo = "textual-textarea";
    tag = "v${version}";
    hash = "sha256-tmbSCU1VgxR9aXG22UVpweD71dVmhKSRBTDm1Gf33jM=";
    hash = "sha256-aaeXgD6RMQ3tlK5H/2lk3ueTyA3yYjHrYL51w/1tvSI=";
  };

  build-system = [ poetry-core ];
+20 −9
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
  pytest-aiohttp,
  pytest-xdist,
  pytestCheckHook,
  pythonAtLeast,
  pythonOlder,
  rich,
  syrupy,
@@ -20,7 +21,7 @@

buildPythonPackage rec {
  pname = "textual";
  version = "0.86.1";
  version = "1.0.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -29,7 +30,7 @@ buildPythonPackage rec {
    owner = "Textualize";
    repo = "textual";
    tag = "v${version}";
    hash = "sha256-5msCFv79nAmoaP9gZxV3DXMLTyVlSFb+qyA5jHWwc50=";
    hash = "sha256-3pNUDkkq9X3W9DdWp4M4h4ddHN+GzUxLCFNJJdAtRJM=";
  };

  build-system = [ poetry-core ];
@@ -65,13 +66,23 @@ buildPythonPackage rec {
    "tests/snapshot_tests/test_snapshots.py"
  ];

  disabledTests = [
  disabledTests =
    [
      # Assertion issues
      "test_textual_env_var"

      # Requirements for tests are not quite ready
      "test_register_language"
    "test_language_binary_missing"

      # Requires python bindings for tree-sitter languages
      # https://github.com/Textualize/textual/issues/5449
      "test_setting_unknown_language"
      "test_update_highlight_query"
    ]
    ++ lib.optionals (pythonAtLeast "3.13") [
      # https://github.com/Textualize/textual/issues/5327
      "test_cursor_page_up"
      "test_cursor_page_down"
    ];

  # Some tests in groups require state from previous tests