python3Packages.colorful: Ignore development versions for automatic updates (#527979)

This commit is contained in:
Wael Nasreddine
2026-06-10 15:49:50 +00:00
committed by GitHub
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
pytestCheckHook,
}:
@@ -21,6 +22,13 @@ buildPythonPackage rec {
pythonImportsCheck = [ "colorful" ];
passthru.updateScript = gitUpdater {
# Drop the "v" tag prefix before version comparison.
rev-prefix = "v";
# Skip PEP 440 pre-release tags.
ignoredVersions = "(a|b|rc)[0-9]+$";
};
meta = {
description = "Library for terminal string styling";
homepage = "https://github.com/timofurrer/colorful";