File tree Expand file tree Collapse file tree 1 file changed +21
-13
lines changed
pkgs/by-name/ha/harlequin Expand file tree Collapse file tree 1 file changed +21
-13
lines changed Original file line number Diff line number Diff line change 11{
22 lib ,
3+ stdenv ,
34 python3Packages ,
45 fetchFromGitHub ,
5- harlequin ,
6- testers ,
76 nix-update-script ,
8- versionCheckHook ,
97 glibcLocales ,
108 withPostgresAdapter ? true ,
119 withBigQueryAdapter ? true ,
1210} :
1311python3Packages . buildPythonApplication rec {
1412 pname = "harlequin" ;
15- version = "1.25.2" ;
13+ version = "1.25.2-unstable-2024-12-30 " ;
1614 pyproject = true ;
1715
1816 src = fetchFromGitHub {
1917 owner = "tconbeer" ;
2018 repo = "harlequin" ;
21- tag = "v ${ version } " ;
22- hash = "sha256-ov9pMvFzJAMfOM7JeSgnp6dZ424GiRaH7W5OCKin9Jk =" ;
19+ rev = "7ef5327157c7617c1032c9128b487b32d1c91fea " ;
20+ hash = "sha256-QoIjEfQgN6YWDDor4PxfeFkkFGAidUC0ZvHy+PqgnWs =" ;
2321 } ;
2422
25- pythonRelaxDeps = [ "textual" ] ;
23+ pythonRelaxDeps = [
24+ "numpy"
25+ "pyarrow"
26+ "textual"
27+ ] ;
2628
2729 build-system = with python3Packages ; [ poetry-core ] ;
2830
@@ -65,18 +67,24 @@ python3Packages.buildPythonApplication rec {
6567
6668 nativeCheckInputs =
6769 [
68- versionCheckHook
70+ # FIX: restore on next release
71+ # versionCheckHook
6972 ]
7073 ++ ( with python3Packages ; [
7174 pytest-asyncio
7275 pytestCheckHook
7376 ] ) ;
7477
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+ ] ;
8088
8189 disabledTestPaths = [
8290 # Tests requires more setup
You can’t perform that action at this time.
0 commit comments