python310Packages.awswrangler: 2.19.0 -> 3.0.0
This commit is contained in:
parent
89236bb5b1
commit
c64c9382ef
|
@ -18,29 +18,27 @@
|
|||
, pyodbc
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, redshift-connector
|
||||
, requests-aws4auth
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awswrangler";
|
||||
version = "2.19.0";
|
||||
version = "3.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7.1";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "aws-sdk-pandas";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-xUEytEgr/djfnoOowLxAZmbPkMS+vU0fuPY7JxZXEe0=";
|
||||
hash = "sha256-uuY6+GCMBtqcj4pLbns0ESRDA8I/0kzJ6Cc4eqsyQ44=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core pythonRelaxDepsHook ];
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
backoff
|
||||
boto3
|
||||
gremlinpython
|
||||
jsonpath-ng
|
||||
|
@ -55,24 +53,15 @@ buildPythonPackage rec {
|
|||
requests-aws4auth
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"gremlinpython"
|
||||
"numpy"
|
||||
"openpyxl"
|
||||
"pandas"
|
||||
"pg8000"
|
||||
"pyarrow"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ moto pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [
|
||||
# Subset of tests that run in upstream CI (many others require credentials)
|
||||
# https://github.com/aws/aws-sdk-pandas/blob/2b7c62ac0762b1303149bb3c03979791479ba4f9/.github/workflows/minimal-tests.yml
|
||||
"tests/test_metadata.py"
|
||||
"tests/test_session.py"
|
||||
"tests/test_utils.py"
|
||||
"tests/test_moto.py"
|
||||
# https://github.com/aws/aws-sdk-pandas/blob/20fec775515e9e256e8cee5aee12966516608840/.github/workflows/minimal-tests.yml#L36-L43
|
||||
"tests/unit/test_metadata.py"
|
||||
"tests/unit/test_session.py"
|
||||
"tests/unit/test_utils.py"
|
||||
"tests/unit/test_moto.py"
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
|
|
Loading…
Reference in a new issue