From 58a9d9106dcba255e1aa2d8b894cdf904990145f Mon Sep 17 00:00:00 2001 From: r-vdp Date: Tue, 18 Feb 2025 12:00:44 +0100 Subject: [PATCH 1/4] mdformat-mkdocs: fix build failure, upstream recommends no longer including mdformat-admon See the warning in the README: https://github.com/KyleKing/mdformat-admon --- pkgs/development/python-modules/mdformat-mkdocs/default.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/python-modules/mdformat-mkdocs/default.nix b/pkgs/development/python-modules/mdformat-mkdocs/default.nix index a6f980d4f05c..b48f9abb3a37 100644 --- a/pkgs/development/python-modules/mdformat-mkdocs/default.nix +++ b/pkgs/development/python-modules/mdformat-mkdocs/default.nix @@ -4,7 +4,6 @@ fetchFromGitHub, flit-core, mdformat, - mdformat-admon, mdformat-gfm, mdit-py-plugins, more-itertools, @@ -31,7 +30,6 @@ buildPythonPackage rec { propagatedBuildInputs = [ mdformat - mdformat-admon mdformat-gfm mdit-py-plugins more-itertools From 1b98165bc0f8b2562f8a4dbdb1d64e7fc05d87ae Mon Sep 17 00:00:00 2001 From: r-vdp Date: Tue, 18 Feb 2025 11:59:38 +0100 Subject: [PATCH 2/4] mdformat: 0.7.19 -> 0.7.22 In the last version bump the src hash was not updated, so really this is a bump from 0.7.18. --- pkgs/development/python-modules/mdformat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mdformat/default.nix b/pkgs/development/python-modules/mdformat/default.nix index 9d67bc59c6a9..393d877370c2 100644 --- a/pkgs/development/python-modules/mdformat/default.nix +++ b/pkgs/development/python-modules/mdformat/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "mdformat"; - version = "0.7.19"; + version = "0.7.22"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "executablebooks"; repo = "mdformat"; tag = version; - hash = "sha256-t2yx8cIq8es3XOc2nbHPKjUUium5+RPZuD8oNWZxVV0="; + hash = "sha256-WvbGCqfzh7KlNXIGJq09goiyLzVgU7c1+qmsLrIW38k="; }; build-system = [ setuptools ]; From e41854bfe7cd430ca957016e553c098c54b19ba5 Mon Sep 17 00:00:00 2001 From: Philippe Schaaf Date: Wed, 9 Apr 2025 17:55:23 +0200 Subject: [PATCH 3/4] mdformat-admon: 2.0.6 -> 2.1.1 Signed-off-by: Philippe Schaaf --- pkgs/development/python-modules/mdformat-admon/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mdformat-admon/default.nix b/pkgs/development/python-modules/mdformat-admon/default.nix index e6b872417d3f..4870e256a3c6 100644 --- a/pkgs/development/python-modules/mdformat-admon/default.nix +++ b/pkgs/development/python-modules/mdformat-admon/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "mdformat-admon"; - version = "2.0.6"; + version = "2.1.1"; pyproject = true; disabled = pythonOlder "3.8"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "KyleKing"; repo = "mdformat-admon"; tag = "v${version}"; - hash = "sha256-YyEiqry1dAm/2EEuQjPFEfdpLI+NiLhVcyx4jAyXs4E="; + hash = "sha256-y0TNyje2OXBY4oo9kBePlqSZAU36vbQQKZUPm/u6DAc="; }; nativeBuildInputs = [ flit-core ]; From 6f19f18b964d0d6a73c313011f3f8acb0b4e0d9a Mon Sep 17 00:00:00 2001 From: Philippe Schaaf Date: Thu, 10 Apr 2025 16:35:53 +0200 Subject: [PATCH 4/4] mark broken packages the packages are broken due to the bump of mdformat itself (>=0.7.19). Signed-off-by: Philippe Schaaf --- pkgs/development/python-modules/mdformat-gfm-alerts/default.nix | 1 + pkgs/development/python-modules/mdformat-toc/default.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/mdformat-gfm-alerts/default.nix b/pkgs/development/python-modules/mdformat-gfm-alerts/default.nix index 611adff811a9..14852b7de2f2 100644 --- a/pkgs/development/python-modules/mdformat-gfm-alerts/default.nix +++ b/pkgs/development/python-modules/mdformat-gfm-alerts/default.nix @@ -37,5 +37,6 @@ buildPythonPackage rec { changelog = "https://github.com/KyleKing/mdformat-gfm-alerts/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; + broken = true; # broken test due to changes in mdformat; compare https://github.com/KyleKing/mdformat-admon/issues/25 }; } diff --git a/pkgs/development/python-modules/mdformat-toc/default.nix b/pkgs/development/python-modules/mdformat-toc/default.nix index 3d4c3fe42d0f..325c85a67c29 100644 --- a/pkgs/development/python-modules/mdformat-toc/default.nix +++ b/pkgs/development/python-modules/mdformat-toc/default.nix @@ -38,5 +38,6 @@ buildPythonPackage rec { aldoborrero polarmutex ]; + broken = true; # broken test due to changes in mdformat; compare https://github.com/KyleKing/mdformat-admon/issues/25 }; }