harlequin: 1.25.2 -> 1.25.2-unstable-2024-12-30 (#370826)

authored by Gaétan Lepage and committed by GitHub f23f3b87 85688123

+21 -13
+21 -13
pkgs/by-name/ha/harlequin/package.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 python3Packages, 4 5 fetchFromGitHub, 5 - harlequin, 6 - testers, 7 6 nix-update-script, 8 - versionCheckHook, 9 7 glibcLocales, 10 8 withPostgresAdapter ? true, 11 9 withBigQueryAdapter ? true, 12 10 }: 13 11 python3Packages.buildPythonApplication rec { 14 12 pname = "harlequin"; 15 - version = "1.25.2"; 13 + version = "1.25.2-unstable-2024-12-30"; 16 14 pyproject = true; 17 15 18 16 src = fetchFromGitHub { 19 17 owner = "tconbeer"; 20 18 repo = "harlequin"; 21 - tag = "v${version}"; 22 - hash = "sha256-ov9pMvFzJAMfOM7JeSgnp6dZ424GiRaH7W5OCKin9Jk="; 19 + rev = "7ef5327157c7617c1032c9128b487b32d1c91fea"; 20 + hash = "sha256-QoIjEfQgN6YWDDor4PxfeFkkFGAidUC0ZvHy+PqgnWs="; 23 21 }; 24 22 25 - pythonRelaxDeps = [ "textual" ]; 23 + pythonRelaxDeps = [ 24 + "numpy" 25 + "pyarrow" 26 + "textual" 27 + ]; 26 28 27 29 build-system = with python3Packages; [ poetry-core ]; 28 30 ··· 65 67 66 68 nativeCheckInputs = 67 69 [ 68 - versionCheckHook 70 + # FIX: restore on next release 71 + # versionCheckHook 69 72 ] 70 73 ++ (with python3Packages; [ 71 74 pytest-asyncio 72 75 pytestCheckHook 73 76 ]); 74 77 75 - disabledTests = [ 76 - # Tests require network access 77 - "test_connect_extensions" 78 - "test_connect_prql" 79 - ]; 78 + disabledTests = 79 + [ 80 + # Tests require network access 81 + "test_connect_extensions" 82 + "test_connect_prql" 83 + ] 84 + ++ lib.optionals (stdenv.hostPlatform.system == "aarch64-darwin") [ 85 + # Test incorrectly tries to load a dylib compiled for x86_64 86 + "test_load_extension" 87 + ]; 80 88 81 89 disabledTestPaths = [ 82 90 # Tests requires more setup