From 32e96c923e2326a9d2036b1bebb11b0d6b927bf8 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 14 Sep 2024 18:13:49 +0200 Subject: [PATCH 1/2] python312Packages.great-tables: cleaning --- .../python-modules/great-tables/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/great-tables/default.nix b/pkgs/development/python-modules/great-tables/default.nix index c3dabbc8233e..a16f0328b3ba 100644 --- a/pkgs/development/python-modules/great-tables/default.nix +++ b/pkgs/development/python-modules/great-tables/default.nix @@ -1,24 +1,29 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, + + # build-system setuptools, setuptools-scm, - pytestCheckHook, - pytest-cov-stub, + + # dependencies babel, commonmark, htmltools, importlib-metadata, importlib-resources, - ipykernel, - ipython, numpy, typing-extensions, + + # tests + ipykernel, + ipython, pandas, polars, pyarrow, + pytestCheckHook, + pytest-cov-stub, requests, syrupy, }: @@ -28,8 +33,6 @@ buildPythonPackage rec { version = "0.11.0"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "posit-dev"; repo = "great-tables"; From bf9554b13294491be45df3c886cf744c2a68ce24 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 14 Sep 2024 18:15:41 +0200 Subject: [PATCH 2/2] python312Packages.great-tables: allow local networking on darwin to fix a failing test --- pkgs/development/python-modules/great-tables/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/great-tables/default.nix b/pkgs/development/python-modules/great-tables/default.nix index a16f0328b3ba..6283a429f8b3 100644 --- a/pkgs/development/python-modules/great-tables/default.nix +++ b/pkgs/development/python-modules/great-tables/default.nix @@ -79,6 +79,8 @@ buildPythonPackage rec { "test_save_non_png" ]; + __darwinAllowLocalNetworking = true; + meta = { description = "Library for rendering and formatting dataframes"; homepage = "https://github.com/posit-dev/great-tables";