Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions pkgs/development/python-modules/ansible/core.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
33 changes: 1 addition & 32 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Loading