Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python312Packages.great-tables: init at 0.11.0 (#341616)

authored by Fabian Affolter and committed by GitHub 2e1c8b38 14b9afe0

+88
+86
pkgs/development/python-modules/great-tables/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + pythonOlder, 5 + fetchFromGitHub, 6 + setuptools, 7 + setuptools-scm, 8 + pytestCheckHook, 9 + pytest-cov-stub, 10 + babel, 11 + commonmark, 12 + htmltools, 13 + importlib-metadata, 14 + importlib-resources, 15 + ipykernel, 16 + ipython, 17 + numpy, 18 + typing-extensions, 19 + pandas, 20 + polars, 21 + pyarrow, 22 + requests, 23 + syrupy, 24 + }: 25 + 26 + buildPythonPackage rec { 27 + pname = "great-tables"; 28 + version = "0.11.0"; 29 + pyproject = true; 30 + 31 + disabled = pythonOlder "3.9"; 32 + 33 + src = fetchFromGitHub { 34 + owner = "posit-dev"; 35 + repo = "great-tables"; 36 + rev = "refs/tags/v${version}"; 37 + hash = "sha256-ccS//fSFa6sytKv0izRxIdnHoNICr7P90Eo+v62RmVA="; 38 + }; 39 + 40 + build-system = [ 41 + setuptools 42 + setuptools-scm 43 + ]; 44 + 45 + dependencies = [ 46 + babel 47 + commonmark 48 + htmltools 49 + importlib-metadata 50 + importlib-resources 51 + numpy 52 + typing-extensions 53 + ]; 54 + 55 + pythonImportsCheck = [ "great_tables" ]; 56 + 57 + nativeCheckInputs = [ 58 + ipykernel 59 + ipython 60 + pandas 61 + polars 62 + pyarrow 63 + pytestCheckHook 64 + pytest-cov-stub 65 + requests 66 + syrupy 67 + ]; 68 + 69 + disabledTestPaths = [ 70 + "tests/test_shiny.py" # requires `shiny` python package, not in Nixpkgs 71 + ]; 72 + 73 + disabledTests = [ 74 + # require selenium with chrome driver: 75 + "test_save_image_file" 76 + "test_save_non_png" 77 + ]; 78 + 79 + meta = { 80 + description = "Library for rendering and formatting dataframes"; 81 + homepage = "https://github.com/posit-dev/great-tables"; 82 + changelog = "https://github.com/posit-dev/great-tables/releases/tag/v${version}"; 83 + license = lib.licenses.mit; 84 + maintainers = with lib.maintainers; [ bcdarwin ]; 85 + }; 86 + }
+2
pkgs/top-level/python-packages.nix
··· 5358 5358 5359 5359 greatfet = callPackage ../development/python-modules/greatfet { }; 5360 5360 5361 + great-tables = callPackage ../development/python-modules/great-tables { }; 5362 + 5361 5363 greeclimate = callPackage ../development/python-modules/greeclimate { }; 5362 5364 5363 5365 green = callPackage ../development/python-modules/green { };