@@ -1,27 +1,52 @@
1−{ lib, buildPythonPackage, fetchPypi, future, python-dateutil, six, pytest, mock, parameterized }:
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, future
5+, mock
6+, parameterized
7+, pytestCheckHook
8+, python-dateutil
9+, pythonOlder
10+, six
11+}:
212
313buildPythonPackage rec {
414 pname = "vertica-python";
5− version = "1.0.3";
15+ version = "1.0.4";
16+ format = "setuptools";
17+
18+ disabled = pythonOlder "3.7";
619
720 src = fetchPypi {
821 inherit pname version;
9− sha256 = "cfe1794c5ba9fdfbd470a55d82f60c2e08e129828367753bf64199a58a539bc2";
22+ hash = "sha256-IpdrR9mDG+8cNnXgSXkmXahSEP4EGnEBJqZk5SNu9pA=";
1023 };
1124
12− propagatedBuildInputs = [ future python-dateutil six ];
25+ propagatedBuildInputs = [
26+ future
27+ python-dateutil
28+ six
29+ ];
30+
31+ checkInputs = [
32+ mock
33+ parameterized
34+ pytestCheckHook
35+ ];
1336
14− checkInputs = [ pytest mock parameterized ];
37+ disabledTestPaths = [
38+ # Integration tests require an accessible Vertica db
39+ "vertica_python/tests/integration_tests"
40+ ];
1541
16− # Integration tests require an accessible Vertica db
17− checkPhase = ''
18− pytest --ignore vertica_python/tests/integration_tests
19− '';
42+ pythonImportsCheck = [
43+ "vertica_python"
44+ ];
2045
2146 meta = with lib; {
2247 description = "Native Python client for Vertica database";
2348 homepage = "https://github.com/vertica/vertica-python";
2449 license = licenses.asl20;
25− maintainers = [ maintainers.arnoldfarkas ];
50+ maintainers = with maintainers; [ arnoldfarkas ];
2651 };
2752}