python3.pkgs.testing-postgresql: fix build
Failing Hydra build: https://hydra.nixos.org/build/265189058 `assertRegexpMatches` got deprecated and is now called `assertRegex`.
This commit is contained in:
@@ -46,6 +46,8 @@ buildPythonPackage rec {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "pg8000 >= 1.10" "pg8000"
|
||||
substituteInPlace tests/test_postgresql.py \
|
||||
--replace-fail "self.assertRegexpMatches" "self.assertRegex"
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "testing.postgresql" ];
|
||||
|
||||
Reference in New Issue
Block a user