python3Packages.textual: 8.2.4 -> 8.2.5 (#515957)

This commit is contained in:
Gaétan Lepage
2026-05-06 16:05:30 +00:00
committed by GitHub
3 changed files with 29 additions and 3 deletions
+18 -1
View File
@@ -1,7 +1,7 @@
{
lib,
stdenv,
python3Packages,
python3,
fetchFromGitHub,
nix-update-script,
glibcLocales,
@@ -10,6 +10,23 @@
withPostgresAdapter ? true,
withBigQueryAdapter ? true,
}:
let
python = python3.override {
packageOverrides = _final: prev: {
# throws a runtime error with textual 8.2.5:
# KeyError: 'textual-ansi'
textual = prev.textual.overridePythonAttrs (old: rec {
version = "8.2.4";
src = old.src.override {
tag = "v${version}";
hash = "sha256-827cm9pcj1o1FYeaoWKCJ6dEyXeDop4kYd205cySTfg=";
};
});
};
};
python3Packages = python.pkgs;
in
python3Packages.buildPythonApplication (finalAttrs: {
pname = "harlequin";
version = "2.5.2";
+9
View File
@@ -22,6 +22,15 @@ let
hash = "sha256-1KVy9s+zjlB4w7E45PMCWRxPus24bgBmmM3k2R9d+Jg=";
};
});
# 112/2907 tests fail with textual 8.2.5:
# textual.app.InvalidThemeError: Theme 'textual-ansi' has not been registered.
textual = prev.textual.overridePythonAttrs (old: rec {
version = "8.2.4";
src = old.src.override {
tag = "v${version}";
hash = "sha256-827cm9pcj1o1FYeaoWKCJ6dEyXeDop4kYd205cySTfg=";
};
});
};
};
python3Packages = python.pkgs;
@@ -37,14 +37,14 @@
buildPythonPackage rec {
pname = "textual";
version = "8.2.4";
version = "8.2.5";
pyproject = true;
src = fetchFromGitHub {
owner = "Textualize";
repo = "textual";
tag = "v${version}";
hash = "sha256-827cm9pcj1o1FYeaoWKCJ6dEyXeDop4kYd205cySTfg=";
hash = "sha256-bQnyTnoG/3Lcrn9cHwNHUYw6piOg8U9bAoPfZW7SDmQ=";
};
build-system = [ poetry-core ];