diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix index fd96ee93aaa10..21e9d4c6d7874 100644 --- a/pkgs/development/python-modules/ansible/core.nix +++ b/pkgs/development/python-modules/ansible/core.nix @@ -32,9 +32,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 +41,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 diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index f8650a3795bdb..558365928cb24 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -289,6 +289,10 @@ 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 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 1a89aeaffa4e9..24c7ccfb7f786 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6029,38 +6029,7 @@ with pkgs; anybadge = with python3Packages; toPythonApplication anybadge; - ansible = ansible_2_19; - ansible_2_19 = 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"; - 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"; - src = fetchPypi { - pname = "ansible_core"; - inherit version; - hash = "sha256-gCef/9mGhrrfqjLh7HhdmKbfGy/B5Al97AWXZA10ZBU="; - }; - }) - ); + ansible = python3Packages.toPythonApplication python3Packages.ansible-core; ansible-builder = with python3Packages; toPythonApplication ansible-builder;