Commit 60481d51 authored by Dmitry Shachnev's avatar Dmitry Shachnev
Browse files

python3Packages.aiosql: Enable PostgreSQL tests with pg8000 and psycopg

Also, move pg8000 from propagatedBuildInputs to nativeCheckInputs. It is
just one of many supported backends, so it is an optional dependency.
parent c14f32e4
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -3,7 +3,9 @@
  buildPythonPackage,
  fetchFromGitHub,
  pg8000,
  psycopg,
  pytest-asyncio,
  pytest-postgresql,
  pytestCheckHook,
  pythonOlder,
  setuptools,
@@ -38,10 +40,11 @@ buildPythonPackage rec {
    sphinxHook
  ];

  propagatedBuildInputs = [ pg8000 ];

  nativeCheckInputs = [
    pg8000
    psycopg
    pytest-asyncio
    pytest-postgresql
    pytestCheckHook
  ];