summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Butler <austinabutler@gmail.com>2021-08-07 16:27:54 -0700
committerMartin Weinelt <hexa@darmstadt.ccc.de>2021-09-18 03:51:41 +0200
commit8fa3d05020e3cc8b1904b112b79734b5d46cc4a0 (patch)
treed9e8e32245f6fa86529077022c18d3e4a4296d5e
parentpython3Packages.resolvelib: 0.7.0 -> 0.7.1 (diff)
downloadnixpkgs-8fa3d05020e3cc8b1904b112b79734b5d46cc4a0.tar.gz
pythonPackages.resolvelib: 0.7.1 -> 0.5.5
(cherry picked from commit c070b9e4f55bf474241359621bbb564fc00a39bc)
-rw-r--r--pkgs/development/python-modules/ansible/core.nix3
-rw-r--r--pkgs/development/python-modules/resolvelib/default.nix9
2 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/ansible/core.nix b/pkgs/development/python-modules/ansible/core.nix
index 8584ba7166a2..25b36e6985ca 100644
--- a/pkgs/development/python-modules/ansible/core.nix
+++ b/pkgs/development/python-modules/ansible/core.nix
@@ -42,9 +42,6 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace lib/ansible/executor/task_executor.py \
--replace "[python," "["
-
- substituteInPlace requirements.txt \
- --replace "resolvelib >= 0.5.3, < 0.6.0" "resolvelib"
'';
nativeBuildInputs = [
diff --git a/pkgs/development/python-modules/resolvelib/default.nix b/pkgs/development/python-modules/resolvelib/default.nix
index a146cac392fb..f5c1f4357268 100644
--- a/pkgs/development/python-modules/resolvelib/default.nix
+++ b/pkgs/development/python-modules/resolvelib/default.nix
@@ -7,13 +7,18 @@
buildPythonPackage rec {
pname = "resolvelib";
- version = "0.7.1";
+ # Currently this package is only used by Ansible and breaking changes
+ # are frequently introduced, so when upgrading ensure the new version
+ # is compatible with Ansible
+ # https://github.com/NixOS/nixpkgs/pull/128636
+ # https://github.com/ansible/ansible/blob/devel/requirements.txt
+ version = "0.5.5";
src = fetchFromGitHub {
owner = "sarugaku";
repo = "resolvelib";
rev = version;
- sha256 = "1fqz75riagizihvf4j7wc3zjw6kmg1dd8sf49aszyml105kb33n8";
+ sha256 = "198vfv78hilpg0d0mjzchzp9zk6239wnra61vlsgwpcgz66d2bgv";
};
checkInputs = [