From d45b0b0f05cd04f00c4f18b0ae3d44492c2a3992 Mon Sep 17 00:00:00 2001 From: Honza Pokorny Date: Tue, 16 Nov 2021 10:23:05 -0400 Subject: [PATCH 1/2] python38Packages.celery: 5.1.2 -> 5.2.0 --- pkgs/development/python-modules/celery/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index cd6d21b7c651..eda5f0467a34 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -5,11 +5,11 @@ buildPythonPackage rec { pname = "celery"; - version = "5.1.2"; + version = "5.2.0"; src = fetchPypi { inherit pname version; - sha256 = "8d9a3de9162965e97f8e8cc584c67aad83b3f7a267584fa47701ed11c3e0d4b0"; + sha256 = "4d858a8fe53c07a9f0cbf8cf1da28e8abe5464d0aba5713bf83908e74277734b"; }; # click is only used for the repl, in most cases this shouldn't impact From effbe4285fcdc19f2066a670fe61c3009b4d8482 Mon Sep 17 00:00:00 2001 From: Honza Pokorny Date: Tue, 16 Nov 2021 11:03:11 -0400 Subject: [PATCH 2/2] python38Packages.celery: remove click & moto patches --- pkgs/development/python-modules/celery/default.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index eda5f0467a34..baf6b62d42f1 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -12,15 +12,6 @@ buildPythonPackage rec { sha256 = "4d858a8fe53c07a9f0cbf8cf1da28e8abe5464d0aba5713bf83908e74277734b"; }; - # click is only used for the repl, in most cases this shouldn't impact - # downstream packages - postPatch = '' - substituteInPlace requirements/test.txt \ - --replace "moto==1.3.7" moto - substituteInPlace requirements/default.txt \ - --replace "click>=7.0,<8.0" click - ''; - propagatedBuildInputs = [ billiard click click-didyoumean click-plugins click-repl kombu pytz vine ]; checkInputs = [ boto3 case moto pytest pytest-celery pytest-subtests pytest-timeout ];