python313Packages.termcolor: 2.5.0 -> 3.0.0

https://github.com/termcolor/termcolor/releases/tag/3.0.0
This commit is contained in:
Martin Weinelt
2025-04-03 23:11:53 +02:00
parent 1edab676e1
commit efd0cd7ba1
2 changed files with 5 additions and 7 deletions
@@ -111,6 +111,8 @@ buildPythonPackage rec {
pytestFlagsArray = [
"-W"
"ignore::DeprecationWarning"
# snapshot mismatches
"--inline-snapshot=update"
];
disabledTests =
@@ -9,12 +9,12 @@
buildPythonPackage rec {
pname = "termcolor";
version = "2.5.0";
version = "3.0.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-mY2NJ9ptSEQujh8BYRkHa2kNliUHUx30iQ/NLbLvim8=";
hash = "sha256-DNhVyHFjg/FSrQK7s5hB1uRpRTj/XUJAiOVsi4H95SU=";
};
build-system = [
@@ -26,12 +26,8 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
preCheck = ''
substituteInPlace pyproject.toml \
--replace-fail ".ini_options" ""
'';
meta = with lib; {
changelog = "https://github.com/termcolor/termcolor/releases/tag/${version}";
description = "ANSI color formatting for output in terminal";
homepage = "https://github.com/termcolor/termcolor";
license = licenses.mit;