From ce96c159c88e97573162d0bdb345103bf5595aea Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 18 Aug 2023 23:47:46 +0200 Subject: [PATCH 1/2] python311Packages.awswrangler: 3.2.1 -> 3.3.0 Diff: https://github.com/aws/aws-sdk-pandas/compare/refs/tags/3.2.1...3.3.0 Changelog: https://github.com/aws/aws-sdk-pandas/releases/tag/3.3.0 --- pkgs/development/python-modules/awswrangler/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/awswrangler/default.nix b/pkgs/development/python-modules/awswrangler/default.nix index 09bfabc9f4b7..a2e934d38003 100644 --- a/pkgs/development/python-modules/awswrangler/default.nix +++ b/pkgs/development/python-modules/awswrangler/default.nix @@ -24,7 +24,7 @@ buildPythonPackage rec { pname = "awswrangler"; - version = "3.2.1"; + version = "3.3.0"; format = "pyproject"; disabled = pythonOlder "3.8"; @@ -33,7 +33,7 @@ buildPythonPackage rec { owner = "aws"; repo = "aws-sdk-pandas"; rev = "refs/tags/${version}"; - hash = "sha256-mpKvg3CM8kMK+RI9XdHHGfy6qlMye+T/B77M4XeTqw0="; + hash = "sha256-Sb5yqbEqGmwhPoG21+uMnl8Jdn3Gc455guceQhAflWY="; }; nativeBuildInputs = [ poetry-core ]; From f8827fc4009131b81ef920e91ce5c988f17fdcd9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 19 Aug 2023 00:32:59 +0200 Subject: [PATCH 2/2] python311Packages.awswrangler: equalize content --- .../python-modules/awswrangler/default.nix | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/awswrangler/default.nix b/pkgs/development/python-modules/awswrangler/default.nix index a2e934d38003..806016afbffc 100644 --- a/pkgs/development/python-modules/awswrangler/default.nix +++ b/pkgs/development/python-modules/awswrangler/default.nix @@ -36,7 +36,9 @@ buildPythonPackage rec { hash = "sha256-Sb5yqbEqGmwhPoG21+uMnl8Jdn3Gc455guceQhAflWY="; }; - nativeBuildInputs = [ poetry-core ]; + nativeBuildInputs = [ + poetry-core + ]; propagatedBuildInputs = [ boto3 @@ -53,7 +55,10 @@ buildPythonPackage rec { requests-aws4auth ]; - nativeCheckInputs = [ moto pytestCheckHook ]; + nativeCheckInputs = [ + moto + pytestCheckHook + ]; pytestFlagsArray = [ # Subset of tests that run in upstream CI (many others require credentials) @@ -65,15 +70,19 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - sqlserver = [ pyodbc ]; - sparql = [ sparqlwrapper ]; + sqlserver = [ + pyodbc + ]; + sparql = [ + sparqlwrapper + ]; }; - meta = { + meta = with lib; { description = "Pandas on AWS"; homepage = "https://github.com/aws/aws-sdk-pandas"; changelog = "https://github.com/aws/aws-sdk-pandas/releases/tag/${version}"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ mcwitt ]; + license = licenses.asl20; + maintainers = with maintainers; [ mcwitt ]; }; }