diff --git a/pkgs/development/python-modules/asyncpg/default.nix b/pkgs/development/python-modules/asyncpg/default.nix index b855d952ed2d30..27412351b02172 100644 --- a/pkgs/development/python-modules/asyncpg/default.nix +++ b/pkgs/development/python-modules/asyncpg/default.nix @@ -4,7 +4,7 @@ buildPythonPackage, async-timeout, uvloop, - postgresql, + postgresql_16, pythonOlder, pytest-xdist, pytestCheckHook, @@ -23,7 +23,7 @@ buildPythonPackage rec { }; # sandboxing issues on aarch64-darwin, see https://github.com/NixOS/nixpkgs/issues/198495 - doCheck = postgresql.doCheck; + doCheck = postgresql_16.doCheck; # required for compatibility with Python versions older than 3.11 # see https://github.com/MagicStack/asyncpg/blob/v0.29.0/asyncpg/_asyncio_compat.py#L13 @@ -31,7 +31,7 @@ buildPythonPackage rec { nativeCheckInputs = [ uvloop - postgresql + postgresql_16 pytest-xdist pytestCheckHook ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c79efda20d8db4..a100b3aa9467b8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -24868,8 +24868,8 @@ with pkgs; postgresql_16_jit postgresql_17_jit ; - postgresql = postgresql_16; - postgresql_jit = postgresql_16_jit; + postgresql = postgresql_17; + postgresql_jit = postgresql_17_jit; postgresqlPackages = recurseIntoAttrs postgresql.pkgs; postgresqlJitPackages = recurseIntoAttrs postgresql_jit.pkgs; postgresql12Packages = recurseIntoAttrs postgresql_12.pkgs;