0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

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
commit d0139e389b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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" ];