diff options
Diffstat (limited to 'pkgs/development/python-modules/pyathena/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyathena/default.nix | 55 |
1 files changed, 22 insertions, 33 deletions
diff --git a/pkgs/development/python-modules/pyathena/default.nix b/pkgs/development/python-modules/pyathena/default.nix index 00c4fd2bd8740..8a81fa5b34f4c 100644 --- a/pkgs/development/python-modules/pyathena/default.nix +++ b/pkgs/development/python-modules/pyathena/default.nix @@ -1,33 +1,32 @@ -{ lib -, boto3 -, botocore -, buildPythonPackage -, fastparquet -, fetchPypi -, fsspec -, hatchling -, pandas -, pyarrow -, pythonOlder -, sqlalchemy -, tenacity +{ + lib, + boto3, + botocore, + buildPythonPackage, + fastparquet, + fetchPypi, + fsspec, + hatchling, + pandas, + pyarrow, + pythonOlder, + sqlalchemy, + tenacity, }: buildPythonPackage rec { pname = "pyathena"; - version = "3.7.0"; + version = "3.8.3"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-PqIrXLsdi4jAE7K5WUFuTdRPs29GLUefNQlU6hzrLWI="; + hash = "sha256-mcYIYOgww4UM0CAcdtOD12pp53clPdDqN85bLRHGDag="; }; - nativeBuildInputs = [ - hatchling - ]; + nativeBuildInputs = [ hatchling ]; propagatedBuildInputs = [ boto3 @@ -37,18 +36,10 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - pandas = [ - pandas - ]; - sqlalchemy = [ - sqlalchemy - ]; - arrow = [ - pyarrow - ]; - fastparquet = [ - fastparquet - ]; + pandas = [ pandas ]; + sqlalchemy = [ sqlalchemy ]; + arrow = [ pyarrow ]; + fastparquet = [ fastparquet ]; }; # Nearly all tests depend on a working AWS Athena instance, @@ -56,9 +47,7 @@ buildPythonPackage rec { # https://github.com/laughingman7743/PyAthena/#testing doCheck = false; - pythonImportsCheck = [ - "pyathena" - ]; + pythonImportsCheck = [ "pyathena" ]; meta = with lib; { description = "Python DB API 2.0 (PEP 249) client for Amazon Athena"; |