File tree Expand file tree Collapse file tree 2 files changed +23
-16
lines changed Expand file tree Collapse file tree 2 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 1818 [ ps . sqlalchemy ] ++ ps . sqlalchemy . optional-dependencies . postgresql
1919 ) ;
2020
21- devPostgresql = pkgs . postgresql_15 . overrideAttrs ( oldAttrs : { } // pkgs . lib . optionalAttrs debugBuild { dontStrip = true ; } ) ; # If debug symbols are needed.
22- devPython = pkgs . python310 . withPackages ( ps : ( requiredPythonPackages ps ) ) ;
21+ devPostgresql = pkgs . postgresql_17 . overrideAttrs ( oldAttrs : { } // pkgs . lib . optionalAttrs debugBuild { dontStrip = true ; } ) ; # If debug symbols are needed.
22+ devPython = pkgs . python313 . withPackages ( ps : ( requiredPythonPackages ps ) ) ;
2323
2424 testPythonVersions = with pkgs ; [
25- python39
26- python310
25+ # python39 # end of security support is scheduled for 2025-10-31; therefore nixpkgs support was dropped before nixos 25.05 was released
26+ # python310 # error: sphinx-8.2.3 not supported for interpreter python3.10
2727 python311
28- # python312 # tests are currently broken
29- # python313 # tests are currently broken
28+ python312
29+ python313
3030 ] ;
3131 testPostgresVersions = with pkgs ; [
3232 postgresql_13
3535 postgresql_16
3636 postgresql_17
3737 ] ;
38- testVersionCombos = pkgs . lib . cartesianProductOfSets {
38+ testVersionCombos = pkgs . lib . cartesianProduct {
3939 python = testPythonVersions ;
4040 postgres = testPostgresVersions ;
4141 } ;
6363 chmod -R +w .
6464 '' ;
6565
66- buildInputs = target_postgresql . buildInputs ++ [
67- target_postgresql
66+ buildInputs = [
6867 ( target_python . withPackages ( ps : ( requiredPythonPackages ps ) ) )
6968 ] ;
69+ nativeBuildInputs = [
70+ target_postgresql . pg_config
71+ pkgs . clang
72+ ] ;
7073 installPhase = ''
7174 runHook preInstall
7275 install -D multicorn${ target_postgresql . dlSuffix } -t $out/lib/
101104 chmod -R +w .
102105 '' ;
103106
104- nativeBuildInputs = [ target_postgresql ] ;
107+ nativeBuildInputs = [
108+ target_postgresql . pg_config
109+ ] ;
105110
106111 separateDebugInfo = true ;
107112 } ;
128133 ./test-3.9
129134 ./test-3.10
130135 ./test-3.11
136+ ./test-3.12
137+ ./test-3.13
131138 ./test-common
132139 ] ;
133140 unpackPhase = ''
You can’t perform that action at this time.
0 commit comments