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