python3.pkgs.tabulate: 0.9.0 -> 0.10.0 (#497973)

This commit is contained in:
Doron Behar
2026-03-13 14:42:14 +00:00
committed by GitHub
@@ -1,21 +1,23 @@
{
lib,
buildPythonPackage,
fetchPypi,
fetchFromGitHub,
setuptools-scm,
setuptools,
wcwidth,
pytestCheckHook,
}:
buildPythonPackage rec {
version = "0.9.0";
buildPythonPackage (finalAttrs: {
version = "0.10.0";
pname = "tabulate";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-AJWxK/WWbeUpwP6x+ghnFnGzNo7sd9fverEUviwGizw=";
src = fetchFromGitHub {
owner = "astanin";
repo = "python-tabulate";
tag = "v${finalAttrs.version}";
hash = "sha256-JnwkABtIgPqANuv3lo8e8zr8m6a/qnxz4w1QvTVZFxg=";
};
nativeBuildInputs = [
@@ -30,17 +32,13 @@ buildPythonPackage rec {
nativeCheckInputs = [
pytestCheckHook
]
++ lib.concatAttrValues optional-dependencies;
# Tests against stdlib behavior which changed in https://github.com/python/cpython/pull/139070
disabledTests = [
"test_wrap_multiword_non_wide"
];
++ lib.concatAttrValues finalAttrs.finalPackage.optional-dependencies;
meta = {
description = "Pretty-print tabular data";
mainProgram = "tabulate";
homepage = "https://github.com/astanin/python-tabulate";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
};
}
})