From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0NuIG+oMAGZRaAEA62LTzQ:P1 (envelope-from ) for ; Sun, 24 Mar 2024 12:22:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0NuIG+oMAGZRaAEA62LTzQ (envelope-from ) for ; Sun, 24 Mar 2024 12:22:18 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=m7BQYn4P; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711279338; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7yzckCR5VX3gz/ijyWzBb0TBVO2VqQAhML3dGyxWA/w=; b=DPInWBiPmDStVeMMgbk4GjyKXSrr4EwfX5VAvQ02pMk6F5XFq9EB1SNqeqC4CRp1UHAKn9 4siaGgYRao+egd6cg61c6UFeT86CrgfRJPcmIeKogOcmhyfOZDz1cwUJGM6V7DO/9zd3td /uigFJMlvVgh437ztDtXgOajC9nmu5AwuUoaWdQJBiO6Gbpyke4+OnyRfYm7zXZInNY5tl 5Pscxd60xXc5KPvR7Kj7hRy/CUeaH+A5N0DRaIEmhGgX+m522vZlVPlAAtrWvURO8nRQ2T BX9omDlPAUWmfVVsjwK/iZheb3TyZ5N9zDis/j9hqJy8WB15/XyKmLLgQTJ17Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=m7BQYn4P; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711279338; a=rsa-sha256; cv=none; b=CTSoUHMH7LPsp0I9oWBNpXOZXMR3XwA2yLDJ34TtyWzpIOsnRgoq7iyru9DaUypcoADylK unXhXaA5/O+Li2l7WjgHVg+NQLtxzJ0e2DWdOty67Ll7+L4e0FKJgPkUkwbSmKBL57MYHd RkjipSTotlaT/3yxUIwSIFw4hPbm6QSuXjSIy5p1ke/kilKlYbeS35c7TkzgoTb0jFBbBz O0/5lz/ixpHROP4b0mdYwttkLywXjsfxyvYn+56qya0xTVqZCOXY9Li+2EnYJ/tKujRQgC w4UOvIdP2HmdaQpMfahu18hCMbHlmBnzAxwUvDo3hBlpzjxOFuan4MwVPRlzVg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 51B0056A6A for ; Sun, 24 Mar 2024 12:22:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1roLvD-000464-9M; Sun, 24 Mar 2024 07:21:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1roLuk-0003vr-0s for guix-patches@gnu.org; Sun, 24 Mar 2024 07:21:22 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1roLuj-00034n-Ja for guix-patches@gnu.org; Sun, 24 Mar 2024 07:21:21 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1roLvP-0002G6-9c for guix-patches@gnu.org; Sun, 24 Mar 2024 07:22:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69978] [PATCH 4/4] gnu: python-celery: Update to 5.3.6. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Mar 2024 11:22:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69978 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69978@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 69978-submit@debbugs.gnu.org id=B69978.17112793008554 (code B ref 69978); Sun, 24 Mar 2024 11:22:03 +0000 Received: (at 69978) by debbugs.gnu.org; 24 Mar 2024 11:21:40 +0000 Received: from localhost ([127.0.0.1]:50224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roLv1-0002Ds-CV for submit@debbugs.gnu.org; Sun, 24 Mar 2024 07:21:40 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1roLuw-0002D8-Ke for 69978@debbugs.gnu.org; Sun, 24 Mar 2024 07:21:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0ACD0240028 for <69978@debbugs.gnu.org>; Sun, 24 Mar 2024 12:20:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711279247; bh=Ndn2pkxY83auD4Waww//4yREBZPZpTZHQVRpW+31dg0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=m7BQYn4P9nXUA2cvwPTT3QyxUGRcztrd/oJ5RP+RIFr67fu4tlTqVQ6qwoo4VrnUv qtbv5Fw3/tTIgDH7udxHIYHb+EvHPsUMyGw8Q0CvIoz7IcZGeLDdoLehnal/eV6xEz FPVFlJnHKG873HVlS51qCUazXf+w0PHsBQKVMeJSs01et4ZIXLDvhSaek1oiN0UH1o oYxED3Vb0QTRBSQUUqNghRYWctE4a1OwJepODXr1XP6Zz5UdFNPTku9Wqp4dAq1KdZ MVYlmS/e+Aw3iQ6iQGkDMZkpmbisiSEYMdlSXE1hzANzn+91aGxoOnPDIlChb81r3a iUr2j9GI6cbUA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V2YXF62lXz9rxG; Sun, 24 Mar 2024 12:20:45 +0100 (CET) From: Vinicius Monego Date: Sun, 24 Mar 2024 11:20:10 +0000 Message-Id: <07de44352cde7fccfcc49a3b85425ad25fda0a4c.1711246336.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 5.47 X-Migadu-Queue-Id: 51B0056A6A X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 5.47 X-TUID: Zy4JGWj1k8UT * gnu/packages/python-xyz.scm (python-celery): Update to 5.3.6. [build-system]: Use pyproject-build-system. [arguments]: Replace pytz with tzdata in the relax-requirements phase. Do not override the check phase, skip tests in #:test-flags instead. [native-inputs]: Add python-pytest-click. [propagated-inputs]: Add python-tzdata. Remove python-pytz. Change-Id: I4cb6a1c6712d5b54f4d9a6731447e9459e8ff81a --- gnu/packages/python-xyz.scm | 43 +++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 23 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 9021b9d9db..37f952e54e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18972,34 +18972,30 @@ (define-public python-billiard (define-public python-celery (package (name "python-celery") - (version "5.2.6") + (version "5.3.6") (source (origin (method url-fetch) (uri (pypi-uri "celery" version)) (sha256 - (base32 "109lcqarrbmh95sk1dm4yxayq1h3i27f4w23ndk64mqgyfnqqffi")))) - (build-system python-build-system) + (base32 "1fdacw13ij94s59l6lspl09iv6fc8h1p6399jz1h00kwfcfwf347")))) + (build-system pyproject-build-system) (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'relax-requirements - (lambda _ - (substitute* "requirements/default.txt" - (("pytz.*") - "pytz\n")))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "-m" "pytest" "t" - "--ignore" "t/integration" ;hangs tests - ;; The MongoDB backend test appears to expect an older - ;; version of MongoDB which provided its own bson - ;; module, fails with " AttributeError: module 'bson' - ;; has no attribute 'encode'". - "--ignore" "t/unit/backends/test_mongodb.py" - ;; AssertionErrors - "-k" "not test_check_privileges_no_fchown "))))))) + (list + ;; The MongoDB backend test appears to expect an older + ;; version of MongoDB which provided its own bson + ;; module, fails with " AttributeError: module 'bson' + ;; has no attribute 'encode'". + #:test-flags #~(list "--ignore" "t/unit/backends/test_mongodb.py" + ;; AssertionError. + "-k" "not test_check_privileges_no_fchown") + #:phases #~(modify-phases %standard-phases + ;; Celery requires tzdata >= 2022.7, we have 2022.1. + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "requirements/default.txt" + (("tzdata.*") + "tzdata\n"))))))) (native-inputs (list python-case python-dnspython @@ -19009,6 +19005,7 @@ (define-public python-celery python-msgpack python-pytest ;for pytest-subtests python-pytest-celery + python-pytest-click python-pytest-subtests python-pytest-timeout python-toml)) @@ -19019,7 +19016,7 @@ (define-public python-celery python-click-plugins python-click-repl python-kombu - python-pytz + python-tzdata python-vine)) (home-page "https://celeryproject.org") (synopsis "Distributed Task Queue") -- 2.39.2