Skip to content

Commit

Permalink
postgresql: 16.4 -> 17.0
Browse files Browse the repository at this point in the history
As discussed in [1] this change is decoupled from the major version
update for the NixOS postgresql module.

[1]: https://github.com/NixOS/nixpkgs/pull/329611/files#r1701393693
  • Loading branch information
wolfgangwalther committed Oct 28, 2024
1 parent ca29a06 commit e8e741d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/asyncpg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
buildPythonPackage,
async-timeout,
uvloop,
postgresql,
postgresql_16,
pythonOlder,
pytest-xdist,
pytestCheckHook,
Expand All @@ -23,15 +23,15 @@ 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
propagatedBuildInputs = lib.optionals (pythonOlder "3.11") [ async-timeout ];

nativeCheckInputs = [
uvloop
postgresql
postgresql_16
pytest-xdist
pytestCheckHook
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e8e741d

Please sign in to comment.