pythonPackages.resolvelib: 0.7.1 -> 0.5.5

+7 -5
-3
pkgs/development/python-modules/ansible/core.nix
··· 42 postPatch = '' 43 substituteInPlace lib/ansible/executor/task_executor.py \ 44 --replace "[python," "[" 45 - 46 - substituteInPlace requirements.txt \ 47 - --replace "resolvelib >= 0.5.3, < 0.6.0" "resolvelib" 48 ''; 49 50 nativeBuildInputs = [
··· 42 postPatch = '' 43 substituteInPlace lib/ansible/executor/task_executor.py \ 44 --replace "[python," "[" 45 ''; 46 47 nativeBuildInputs = [
+7 -2
pkgs/development/python-modules/resolvelib/default.nix
··· 7 8 buildPythonPackage rec { 9 pname = "resolvelib"; 10 - version = "0.7.1"; 11 12 src = fetchFromGitHub { 13 owner = "sarugaku"; 14 repo = "resolvelib"; 15 rev = version; 16 - sha256 = "1fqz75riagizihvf4j7wc3zjw6kmg1dd8sf49aszyml105kb33n8"; 17 }; 18 19 checkInputs = [
··· 7 8 buildPythonPackage rec { 9 pname = "resolvelib"; 10 + # Currently this package is only used by Ansible and breaking changes 11 + # are frequently introduced, so when upgrading ensure the new version 12 + # is compatible with Ansible 13 + # https://github.com/NixOS/nixpkgs/pull/128636 14 + # https://github.com/ansible/ansible/blob/devel/requirements.txt 15 + version = "0.5.5"; 16 17 src = fetchFromGitHub { 18 owner = "sarugaku"; 19 repo = "resolvelib"; 20 rev = version; 21 + sha256 = "198vfv78hilpg0d0mjzchzp9zk6239wnra61vlsgwpcgz66d2bgv"; 22 }; 23 24 checkInputs = [