From ed1517d3c6ae79f3c433bf5ac69967818978e1be Mon Sep 17 00:00:00 2001 From: Robert Sliwinski Date: Wed, 5 Nov 2025 21:13:29 +0100 Subject: [PATCH 1/5] python3Packages.ansible-core: 2.19.4 -> 2.20.0 Changelog: https://github.com/ansible/ansible/blob/v2.20.0/changelogs/CHANGELOG-v2.20.rst --- pkgs/development/python-modules/ansible/core.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index fd96ee93aaa1..0f935f6371d5 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -34,7 +34,7 @@ buildPythonPackage rec { pname = "ansible-core"; # IMPORTANT: When bumping the minor version (2.XX.0 - the XX), please update pinned package in pkgs/top-level/all-packages.nix # There are pinned packages called ansible_2_XX, create a new one with the previous minor version and then update the version here - version = "2.19.4"; + version = "2.20.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -43,7 +43,7 @@ buildPythonPackage rec { owner = "ansible"; repo = "ansible"; tag = "v${version}"; - hash = "sha256-TjafUlPKuxpXrfREK65D88SoGThGBzpbfCHr0ZkviI0="; + hash = "sha256-4kTBzDHDfdHR/W4edxrGtWhg6TRLMtdEgUZYcn8cFQg="; }; # ansible_connection is already wrapped, so don't pass it through From 6bfa3357c66621306fca19c6ffb35c44b1957c84 Mon Sep 17 00:00:00 2001 From: Robert Sliwinski Date: Mon, 10 Nov 2025 20:39:35 +0100 Subject: [PATCH 2/5] ansible_2_19: remove --- pkgs/development/python-modules/ansible/core.nix | 2 -- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index 0f935f6371d5..21e9d4c6d787 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -32,8 +32,6 @@ buildPythonPackage rec { pname = "ansible-core"; - # IMPORTANT: When bumping the minor version (2.XX.0 - the XX), please update pinned package in pkgs/top-level/all-packages.nix - # There are pinned packages called ansible_2_XX, create a new one with the previous minor version and then update the version here version = "2.20.0"; pyproject = true; diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index f8650a3795bd..24d3851c4b24 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -289,6 +289,7 @@ mapAliases { animeko = throw "'animeko' has been removed since it is unmaintained"; # Added 2025-08-20 ansible-language-server = throw "ansible-language-server was removed, because it was unmaintained in nixpkgs."; # Added 2025-09-24 ansible-later = throw "ansible-later has been discontinued. The author recommends switching to ansible-lint"; # Added 2025-08-24 + ansible_2_19 = throw "ansible_2_19 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 antlr4_8 = throw "antlr4_8 has been removed. Consider using a more recent version of antlr4"; # Added 2025-10-20 ao = throw "'ao' has been renamed to/replaced by 'libfive'"; # Converted to throw 2025-10-27 apacheAnt = throw "'apacheAnt' has been renamed to/replaced by 'ant'"; # Converted to throw 2025-10-27 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a89aeaffa4e..01b330d9c7c1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6029,8 +6029,7 @@ with pkgs; anybadge = with python3Packages; toPythonApplication anybadge; - ansible = ansible_2_19; - ansible_2_19 = python3Packages.toPythonApplication python3Packages.ansible-core; + ansible = python3Packages.toPythonApplication python3Packages.ansible-core; ansible_2_18 = python3Packages.toPythonApplication ( python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { version = "2.18.8"; From 3df7cab8f3227457f06729d8c9de0e05b8fcfb72 Mon Sep 17 00:00:00 2001 From: Robert Sliwinski Date: Tue, 11 Nov 2025 12:57:46 +0100 Subject: [PATCH 3/5] ansible_2_18: remove --- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 24d3851c4b24..54d9f6d69f33 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -289,6 +289,7 @@ mapAliases { animeko = throw "'animeko' has been removed since it is unmaintained"; # Added 2025-08-20 ansible-language-server = throw "ansible-language-server was removed, because it was unmaintained in nixpkgs."; # Added 2025-09-24 ansible-later = throw "ansible-later has been discontinued. The author recommends switching to ansible-lint"; # Added 2025-08-24 + ansible_2_18 = throw "ansible_2_18 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 ansible_2_19 = throw "ansible_2_19 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 antlr4_8 = throw "antlr4_8 has been removed. Consider using a more recent version of antlr4"; # Added 2025-10-20 ao = throw "'ao' has been renamed to/replaced by 'libfive'"; # Converted to throw 2025-10-27 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 01b330d9c7c1..85272b07d49f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6030,16 +6030,6 @@ with pkgs; anybadge = with python3Packages; toPythonApplication anybadge; ansible = python3Packages.toPythonApplication python3Packages.ansible-core; - ansible_2_18 = python3Packages.toPythonApplication ( - python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { - version = "2.18.8"; - src = fetchPypi { - pname = "ansible_core"; - inherit version; - hash = "sha256-sHZiFalqR845kz0n4emWyivrVM8bOQfHQtNckTsfeM0="; - }; - }) - ); ansible_2_17 = python3Packages.toPythonApplication ( python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { version = "2.17.8"; From 0d470384c8ef05804d900520b0ce5c2d27d3b0e4 Mon Sep 17 00:00:00 2001 From: Robert Sliwinski Date: Mon, 10 Nov 2025 20:40:38 +0100 Subject: [PATCH 4/5] ansible_2_17: remove --- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 54d9f6d69f33..07fe4fc56e96 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -289,6 +289,7 @@ mapAliases { animeko = throw "'animeko' has been removed since it is unmaintained"; # Added 2025-08-20 ansible-language-server = throw "ansible-language-server was removed, because it was unmaintained in nixpkgs."; # Added 2025-09-24 ansible-later = throw "ansible-later has been discontinued. The author recommends switching to ansible-lint"; # Added 2025-08-24 + ansible_2_17 = throw "ansible_2_17 has been removed, as it is EOL"; # Added 2025-11-10 ansible_2_18 = throw "ansible_2_18 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 ansible_2_19 = throw "ansible_2_19 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 antlr4_8 = throw "antlr4_8 has been removed. Consider using a more recent version of antlr4"; # Added 2025-10-20 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 85272b07d49f..efc7bcf24578 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6030,16 +6030,6 @@ with pkgs; anybadge = with python3Packages; toPythonApplication anybadge; ansible = python3Packages.toPythonApplication python3Packages.ansible-core; - ansible_2_17 = python3Packages.toPythonApplication ( - python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { - version = "2.17.8"; - src = fetchPypi { - pname = "ansible_core"; - inherit version; - hash = "sha256-Ob6KeYaix9NgabDZciC8L2eDxl/qfG1+Di0A0ayK+Hc="; - }; - }) - ); ansible_2_16 = python3Packages.toPythonApplication ( python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { version = "2.16.14"; From 47b2c8d0affdd4bdef0a12387c6967b0a9acc849 Mon Sep 17 00:00:00 2001 From: Robert Sliwinski Date: Mon, 10 Nov 2025 20:41:16 +0100 Subject: [PATCH 5/5] ansible_2_16: remove --- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 10 ---------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 07fe4fc56e96..558365928cb2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -289,6 +289,7 @@ mapAliases { animeko = throw "'animeko' has been removed since it is unmaintained"; # Added 2025-08-20 ansible-language-server = throw "ansible-language-server was removed, because it was unmaintained in nixpkgs."; # Added 2025-09-24 ansible-later = throw "ansible-later has been discontinued. The author recommends switching to ansible-lint"; # Added 2025-08-24 + ansible_2_16 = throw "ansible_2_16 has been removed, as it is EOL"; # Added 2025-11-10 ansible_2_17 = throw "ansible_2_17 has been removed, as it is EOL"; # Added 2025-11-10 ansible_2_18 = throw "ansible_2_18 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 ansible_2_19 = throw "ansible_2_19 has been removed; use overridePythonAttrs if you need a specific version"; # Added 2025-11-10 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index efc7bcf24578..24c7ccfb7f78 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6030,16 +6030,6 @@ with pkgs; anybadge = with python3Packages; toPythonApplication anybadge; ansible = python3Packages.toPythonApplication python3Packages.ansible-core; - ansible_2_16 = python3Packages.toPythonApplication ( - python3Packages.ansible-core.overridePythonAttrs (oldAttrs: rec { - version = "2.16.14"; - src = fetchPypi { - pname = "ansible_core"; - inherit version; - hash = "sha256-gCef/9mGhrrfqjLh7HhdmKbfGy/B5Al97AWXZA10ZBU="; - }; - }) - ); ansible-builder = with python3Packages; toPythonApplication ansible-builder;