From 4c57b5e896272e430a8667278102952ec50cac9a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 10 Mar 2019 16:36:49 +0100 Subject: [PATCH] pythonPackages.jaraco_text: 2.0 -> 3.0 This fixes the dependency cycle between `jaraco_text` and `jaraco_collections`. Reported upstream in https://github.com/jaraco/jaraco.text/issues/3 See also https://hydra.nixos.org/build/90307068 See also https://hydra.nixos.org/build/90310398 Addresses #56826 --- .../python-modules/jaraco_collections/default.nix | 5 +++-- pkgs/development/python-modules/jaraco_text/default.nix | 9 +++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/jaraco_collections/default.nix b/pkgs/development/python-modules/jaraco_collections/default.nix index c0b30edb9ad4..8fde41e9b499 100644 --- a/pkgs/development/python-modules/jaraco_collections/default.nix +++ b/pkgs/development/python-modules/jaraco_collections/default.nix @@ -1,5 +1,6 @@ { buildPythonPackage, fetchPypi, setuptools_scm -, six, jaraco_classes }: +, six, jaraco_classes, jaraco_text +}: buildPythonPackage rec { pname = "jaraco.collections"; @@ -11,7 +12,7 @@ buildPythonPackage rec { doCheck = false; buildInputs = [ setuptools_scm ]; - propagatedBuildInputs = [ six jaraco_classes ]; + propagatedBuildInputs = [ six jaraco_classes jaraco_text ]; # break dependency cycle patchPhase = '' diff --git a/pkgs/development/python-modules/jaraco_text/default.nix b/pkgs/development/python-modules/jaraco_text/default.nix index 222a92e60fb6..6087258a289b 100644 --- a/pkgs/development/python-modules/jaraco_text/default.nix +++ b/pkgs/development/python-modules/jaraco_text/default.nix @@ -1,14 +1,15 @@ { buildPythonPackage, fetchPypi, setuptools_scm -, jaraco_functools, jaraco_collections }: +, jaraco_functools +}: buildPythonPackage rec { pname = "jaraco.text"; - version = "2.0"; + version = "3.0"; src = fetchPypi { inherit pname version; - sha256 = "3660678d395073626e72a455b24bacf07c064138a4cc6c1dae63e616f22478aa"; + sha256 = "1l5hq2jvz9xj05aayc42f85v8wx8rpi16lxph8blw51wgnvymsyx"; }; doCheck = false; buildInputs =[ setuptools_scm ]; - propagatedBuildInputs = [ jaraco_functools jaraco_collections ]; + propagatedBuildInputs = [ jaraco_functools ]; }