mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
Merge pull request #249047 from fabaff/pyathena-bump
python311Packages.pyathena: 2.23.0 -> 3.0.6
This commit is contained in:
commit
de2b8ddf94
@ -2,33 +2,55 @@
|
||||
, boto3
|
||||
, botocore
|
||||
, buildPythonPackage
|
||||
, fastparquet
|
||||
, fetchPypi
|
||||
, fsspec
|
||||
, pandas
|
||||
, poetry-core
|
||||
, pyarrow
|
||||
, pythonOlder
|
||||
, sqlalchemy
|
||||
, tenacity
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyathena";
|
||||
version = "2.23.0";
|
||||
format = "setuptools";
|
||||
version = "3.0.6";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-6T2qr0fcHzgDPZvc3StZwIH2ZRvTOJFXDLPc3iFmwCQ=";
|
||||
hash = "sha256-7m6hdRNIlCCa8sa+GFm3vkNx93QfqnpY+fl5Bf9qc6Q=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
boto3
|
||||
botocore
|
||||
fsspec
|
||||
pandas
|
||||
tenacity
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
pandas = [
|
||||
pandas
|
||||
];
|
||||
sqlalchemy = [
|
||||
sqlalchemy
|
||||
];
|
||||
arrow = [
|
||||
pyarrow
|
||||
];
|
||||
fastparquet = [
|
||||
fastparquet
|
||||
];
|
||||
};
|
||||
|
||||
# Nearly all tests depend on a working AWS Athena instance,
|
||||
# therefore deactivating them.
|
||||
# https://github.com/laughingman7743/PyAthena/#testing
|
||||
@ -41,6 +63,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python DB API 2.0 (PEP 249) client for Amazon Athena";
|
||||
homepage = "https://github.com/laughingman7743/PyAthena/";
|
||||
changelog = "https://github.com/laughingman7743/PyAthena/releases/tag/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ turion ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user