Merge pull request #327338 from Ma27/fix-py3-testing-postgresql

python3.pkgs.testing-postgresql: fix build
This commit is contained in:
Maximilian Bosch
2024-07-17 06:11:43 +00:00
committed by GitHub
@@ -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" ];