Merge pull request #306087 from r-ryantm/auto-update/python311Packages.awswrangler

python311Packages.awswrangler: 3.7.2 -> 3.7.3
This commit is contained in:
Fabian Affolter 2024-04-23 09:34:18 +02:00 committed by GitHub
commit 75b1b20fab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,32 +1,33 @@
{ backoff {
, sparqlwrapper backoff,
, boto3 sparqlwrapper,
, buildPythonPackage boto3,
, fetchFromGitHub buildPythonPackage,
, gremlinpython fetchFromGitHub,
, jsonpath-ng gremlinpython,
, lib jsonpath-ng,
, moto lib,
, openpyxl moto,
, opensearch-py openpyxl,
, pandas opensearch-py,
, pg8000 pandas,
, poetry-core pg8000,
, progressbar2 poetry-core,
, pyarrow progressbar2,
, pymysql pyarrow,
, pyodbc pymysql,
, pyparsing pyodbc,
, pytestCheckHook pyparsing,
, pythonOlder pytestCheckHook,
, pythonRelaxDepsHook pythonOlder,
, redshift-connector pythonRelaxDepsHook,
, requests-aws4auth redshift-connector,
requests-aws4auth,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "awswrangler"; pname = "awswrangler";
version = "3.7.2"; version = "3.7.3";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -35,16 +36,17 @@ buildPythonPackage rec {
owner = "aws"; owner = "aws";
repo = "aws-sdk-pandas"; repo = "aws-sdk-pandas";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-1eb2oTiRNxA2XTpkScA5WJutN5P6FX96jC4Ra9VdonI="; hash = "sha256-gm6ieteW+NcY+AOLcMZLUPcSi2Z/Mo27rzd1i9imp5I=";
}; };
pythonRelaxDeps = [ "packaging" ];
build-system = [ build-system = [
poetry-core poetry-core
pythonRelaxDepsHook
]; ];
pythonRelaxDeps = [ nativeBuildInputs = [
"packaging" pythonRelaxDepsHook
]; ];
dependencies = [ dependencies = [
@ -62,12 +64,21 @@ buildPythonPackage rec {
requests-aws4auth requests-aws4auth
]; ];
passthru.optional-dependencies = {
sqlserver = [ pyodbc ];
sparql = [ sparqlwrapper ];
};
nativeCheckInputs = [ nativeCheckInputs = [
moto moto
pyparsing pyparsing
pytestCheckHook pytestCheckHook
]; ];
pythonImportsCheck = [
"awswrangler"
];
pytestFlagsArray = [ pytestFlagsArray = [
# Subset of tests that run in upstream CI (many others require credentials) # Subset of tests that run in upstream CI (many others require credentials)
# https://github.com/aws/aws-sdk-pandas/blob/20fec775515e9e256e8cee5aee12966516608840/.github/workflows/minimal-tests.yml#L36-L43 # https://github.com/aws/aws-sdk-pandas/blob/20fec775515e9e256e8cee5aee12966516608840/.github/workflows/minimal-tests.yml#L36-L43
@ -77,15 +88,6 @@ buildPythonPackage rec {
"tests/unit/test_moto.py" "tests/unit/test_moto.py"
]; ];
passthru.optional-dependencies = {
sqlserver = [
pyodbc
];
sparql = [
sparqlwrapper
];
};
meta = with lib; { meta = with lib; {
description = "Pandas on AWS"; description = "Pandas on AWS";
homepage = "https://github.com/aws/aws-sdk-pandas"; homepage = "https://github.com/aws/aws-sdk-pandas";